--- calo/flight/CaloFranzini/Makefile 2007/12/04 12:05:27 1.1 +++ calo/flight/CaloFranzini/Makefile 2007/12/13 17:08:05 1.2 @@ -23,8 +23,8 @@ # Here the variables used to override the standard make flags # C CC=gcc -#CFLAGS=-Wall -O -fPIC -pthread -g -CFLAGS=-Wall -O -fPIC -pthread +CFLAGS=-Wall -fPIC -pthread -g +#CFLAGS=-Wall -O4 -fPIC -pthread # Enviroment: GCCVER=`gcc --version | head -1` UNAMEA=`uname -a` @@ -35,8 +35,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 -fPIC -pthread -g +#CXXFLAGS=-Wall -O4 -fPIC -pthread # ROOTCINT ROOTCINT=rootcint # Here the variables definig the local directories @@ -55,7 +55,7 @@ FSRCS= FOBJS=$(FSRCS:${DIRSRC}/F77/%.f=${DIRLIB}/%.o) #------------------------------------------------- -CSRCS= +CSRCS=${DIRSRC}/Calib.cpp COBJS=$(CSRCS:${DIRSRC}%.cpp=${DIRLIB}/%.o) #------------------------------------------------- # librerie utilizzabili da root (ci deve essere anche il ***LinkDef.h ) @@ -82,14 +82,14 @@ #------------------------------------------------- # eseguibile -CXXEXESRCS= +CXXEXESRCS=${DIRSRC}/CaloCreateMatrix.cpp CXXEXEOBJS=$(CXXEXESRCS:${DIRSRC}%.cpp=${DIRLIB}%.o) -CXXEXELIBS:= +CXXEXELIBS:=CaloCreateMatrix -OTHERLIBS=${PAM_LIB}/libCaloLevel0.so ${PAM_LIB}/libCaloLevel1.so ${PAM_LIB}/libCaloLevel2.so ${PAM_LIB}/libCaloCore.so ${PAM_LIB}/libcaloclasses.so +OTHERLIBS=$(PAM_LIB)/libDarthVader.so $(PAM_LIB)/libPamLevel2.so #------------------------------------------------- # variabili per l'installazione -EXESRCS= +EXESRCS=${DIRBIN}/CaloCreateMatrix INCSRCS=${DIRINC}/CaloFranzini.h MACROSSRCS= CALIBFILES=