--- PamelaDigitizer/Makefile 2008/10/15 14:03:21 1.12 +++ PamelaDigitizer/Makefile 2009/05/05 14:17:46 1.15 @@ -1,6 +1,6 @@ # PamelaDigitizer # SOFTWARE VERSION -VER= v3r03 +VER= v3r05 # An almost general purpouse Makefile for PAMELA repository # Let's start with some useful definition to make the echo colored RED='\E[1;31;40m' @@ -42,9 +42,10 @@ # Compilers settings ROOTCFLAGS =`root-config --cflags` -ROOTLDFLAGS =`root-config --ldflags` +ROOTLDFLAGS =`root-config --ldflags` ROOTLIBS =`root-config --libs` -lHbook -CERNLIBS =`cernlib_noshift kernlib,packlib,genlib` +#CERNLIBS =`cernlib_noshift kernlib,packlib,genlib` +CERNLIBS = F77LIBS =-lg2c -lnsl SYSLIBS =-lm -ldl -rdynamic LD =g++ @@ -59,7 +60,7 @@ #LDFLAGS = -g -llapack -lg2c -lm -lnsl -lcrypt -L/cern/2005/lib $(PAM_BIT) -CXXSRCS= Digitizer.cxx DigitizeRunHeader.cxx DigitizeCalo.cxx DigitizeTOF.cxx DigitizeAC.cxx DigitizeS4.cxx DigitizeND.cxx Write.cxx DigitizeTRK.cxx Pamelagp2Digits.cxx DigitVersion.cxx +CXXSRCS= Digitizer.cxx DigitizePSCU.cxx DigitizeCalo.cxx DigitizeTOF.cxx DigitizeAC.cxx DigitizeS4.cxx DigitizeND.cxx Write.cxx DigitizeTRK.cxx Pamelagp2Digits.cxx DigitVersion.cxx OBJS=$(CXXSRCS:%.cxx=%.o) CPPSRCS= CRC.cpp calcrc.cpp @@ -92,7 +93,7 @@ @rm -f *.o Digitizer: Digitizer.o ${OBJS} ${DICO} - $(LD) $(LDFLAGS) -o $@ $^ ${ROOTLIBS} ${CERNLIBS} ${F77LIBS} ${SYSLIBS} + $(LD) $(LDFLAGS) -o $@ $^ ${ROOTLIBS} ${CERNLIBS} ${F77LIBS} ${SYSLIBS} depend: ${DEPS} @@ -134,6 +135,7 @@ @echo " Removing Pamelagp2Digits ....." @rm -f ${JUNK} @rm -f Pamelagp2Digits; ${RESET} + @touch DigitVersion.cxx install: # @echo "TEST: copying the executable in the PAM_BIN directory";