--- YodaProfiler/Makefile 2006/10/24 14:24:20 1.9 +++ YodaProfiler/Makefile 2008/03/06 15:03:25 1.34 @@ -1,6 +1,6 @@ # YodaProfiler # SOFTWARE VERSION -VER= v2r00 +VER= v5r00 # An almost general purpouse Makefile for PAMELA repository # Let's start with some usefull definition for colorize the echo RED='\E[1;31;40m' @@ -38,7 +38,7 @@ # C++ CXX=g++ #CXXFLAGS=-Wall -O -fPIC -pthread -g -CXXFLAGS=-Wall -O -fPIC -pthread +CXXFLAGS=-Wall -O4 -fPIC -pthread # ROOTCINT ROOTCINT=rootcint # Here the variables definig the local directories @@ -49,7 +49,7 @@ DIRBIN=bin/${ARCH} DIRSRC=src DIRINC=inc -DIRDOC=doc +DIRDOC=docs DIRMACROS=macros DIRCALIB=param # Here the PAMELA environmental variables to be checked @@ -83,15 +83,16 @@ FULLLIBCPPLIBS=$(LIBCPPCLIBS:%=${DIRLIB}/%_${VER}.so) # -- CPP - Executables -- -CXXEXESRCS=${DIRSRC}/YodaProfiler.cpp +CXXEXESRCS=${DIRSRC}/YodaProfiler.cpp \ + ${DIRSRC}/R2-D2.cpp CXXEXEOBJS=$(CXXEXESRCS:${DIRSRC}%.cpp=${DIRLIB}%.o) -CXXEXELIBS:=YodaProfiler +CXXEXELIBS:=YodaProfiler R2-D2 # List of all libraries we want to install FULLLIBS = ${FULLROOTCLIBS} ${FULLLIBCPPLIBS} ${DARTHVLIB} # Other objects to install -EXESRCS=${DIRBIN}/YodaProfiler +EXESRCS=${DIRBIN}/YodaProfiler ${DIRBIN}/R2-D2 INCSRCS=${DIRINC}/GLTables.h ${DIRINC}/GLTablesStruct.h ${DIRINC}/sgp4.h @@ -99,7 +100,7 @@ CALIBFILES= -DOCFILES= +DOCFILES=${DIRDOC}/retrieve_TLE.sh ${DIRDOC}/YodaProfilerManual.pdf ${DIRDOC}/PAMELAProductionDB.sql ${DIRDOC}/install_DB.sh # Here the Variables used for info target PACKAGE=PAMELA analysis flight software