--- YodaProfiler/Makefile 2006/09/05 12:59:33 1.2 +++ YodaProfiler/Makefile 2006/10/17 15:19:46 1.7 @@ -1,6 +1,6 @@ # YodaProfiler # SOFTWARE VERSION -VER= v1r01 +VER= v2r00 # An almost general purpouse Makefile for PAMELA repository # Let's start with some usefull definition for colorize the echo RED='\E[1;31;40m' @@ -25,8 +25,8 @@ MAKE=make # C CC=gcc -CFLAGS=-Wall -O -fPIC -pthread -g -#CFLAGS=-Wall -O -fPIC -pthread +#CFLAGS=-Wall -O -fPIC -pthread -g +CFLAGS=-Wall -O -fPIC -pthread # Enviroment: GCCVER=`gcc --version | head -1` UNAMEA=`uname -a` @@ -37,8 +37,8 @@ #F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash # C++ CXX=g++ -CXXFLAGS=-Wall -O -fPIC -pthread -g -#CXXFLAGS=-Wall -O -fPIC -pthread +#CXXFLAGS=-Wall -O -fPIC -pthread -g +CXXFLAGS=-Wall -O -fPIC -pthread # ROOTCINT ROOTCINT=rootcint # Here the variables definig the local directories @@ -62,7 +62,12 @@ # -- CPP - no libraries -- CPPSRCS=${DIRSRC}/YodaProfilerVerl2.cpp \ - ${DIRSRC}/PamelaDBOperations.cpp + ${DIRSRC}/PamelaDBOperations.cpp \ + ${DIRSRC}/cEci.cpp \ + ${DIRSRC}/cJulian.cpp \ + ${DIRSRC}/cTle.cpp \ + ${DIRSRC}/cVector.cpp \ + ${DIRSRC}/globals.cpp CPPOBJS=$(CPPSRCS:${DIRSRC}%.cpp=${DIRLIB}%.o) # -- C - no libraries -- @@ -172,7 +177,9 @@ @(${EGREEN} "Creating exec file: "${WHITE} "$@"; ${RESET}) # @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${CPPOBJS} ${PAM_YODA}/lib/libyoda.so ${PAM_YODA}/lib/libutils.so -lThread `root-config --cflags --glibs` `cernlib mathlib` # @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${DIRTOP}/${DIRLIB}/libPacketTypeList.so ${DIRTOP}/${DIRLIB}/libGLTables.so ${CPPOBJS} ${PAM_YODA}/lib/libyoda.so -lThread `root-config --cflags --glibs` `cernlib mathlib` - @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${DIRTOP}/${DIRLIB}/libGLTables.so ${CPPOBJS} ${PAM_YODA}/lib/libyoda.so -lThread `root-config --cflags --glibs` `cernlib mathlib` + +# @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${DIRTOP}/${DIRLIB}/libGLTables.so ${CPPOBJS} ${PAM_YODA}/lib/libyoda.so -lThread `root-config --cflags --glibs` `cernlib mathlib` + @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${DIRTOP}/${DIRLIB}/libGLTables.so ${CPPOBJS} ${PAM_YODA}/lib/libyoda.so -lThread `root-config --cflags --glibs` # A small target to check environmental variables %_env: