--- DarthVader/TrackerLevel2/Makefile 2007/02/16 18:24:09 1.23 +++ DarthVader/TrackerLevel2/Makefile 2009/01/12 05:06:54 1.40 @@ -1,6 +1,6 @@ # Tracker flight analysis software # SOFTWARE VERSION -VER= v2r05 +VER= v6r00 DEBUG=0 # An almost general purpouse Makefile for PAMELA repository # Let's start with some usefull definition for colorize the echo @@ -24,22 +24,31 @@ # 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 -O -fPIC -pthread -g ${PAM_BIT} +#CFLAGS=-Wall -O -fPIC -pthread ${PAM_BIT} +CFLAGS=-Wall -O3 -funroll-loops -fPIC -pthread ${PAM_BIT} +#CFLAGS=-Wall -fPIC -pthread ${PAM_BIT} # Enviroment: GCCVER=`gcc --version | head -1` UNAMEA=`uname -a` TODAY=`date` # F77 F77=g77 -#F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -g -extend_source -static -fno-backslash -F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC +#F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -g -extend_source -static -fno-backslash ${PAM_BIT} +#F77FLAGS= -malign-double -Wall -funroll-loops -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT} +#F77FLAGS= -malign-double -Wall -funroll-loops -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT} +F77FLAGS= -O2 -malign-double -Wall -funroll-loops -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT} +#F77FLAGS= -malign-double -Wall -funroll-loops -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT} +#F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT} +#F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT} # C++ CXX=g++ -#CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=${DEBUG}' -#CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=0' -#CXXFLAGS=-Wall -O -fPIC -pthread -fpermissive -CXXFLAGS=-Wall -O4 -fPIC -pthread +#CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=${DEBUG}' ${PAM_BIT} +#CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=0' ${PAM_BIT} +#CXXFLAGS=-Wall -O -fPIC -pthread -fpermissive ${PAM_BIT} +#CXXFLAGS=-Wall -O4 -fPIC -pthread ${PAM_BIT} +CXXFLAGS=-Wall -O3 -funroll-loops -fPIC -pthread ${PAM_BIT} +#CXXFLAGS=-Wall -fPIC -pthread ${PAM_BIT} # ROOTCINT ROOTCINT=rootcint # Here the variables definig the local directories @@ -71,7 +80,8 @@ ${DIRSRC}/F77/readB.f \ ${DIRSRC}/F77/interB.f \ ${DIRSRC}/F77/track.f \ - ${DIRSRC}/F77/grkuta.f + ${DIRSRC}/F77/grkuta.f \ + ${DIRSRC}/F77/bdll.f # ***PP*** FOBJS=$(FSRCS:${DIRSRC}/F77/%.f=${DIRLIB}/%.o) #------------------------------------------------- @@ -92,6 +102,7 @@ ${DIRLIB}/interB.o \ ${DIRLIB}/track.o \ ${DIRLIB}/grkuta.o \ + ${DIRLIB}/bdll.o \ ${DIRLIB}/functionspfa.o \ ${DIRLIB}/readallparam.o \ ${DIRLIB}/functions.o \ @@ -137,7 +148,7 @@ CXXEXEOBJS=$(CXXEXESRCS:${DIRSRC}%.cpp=${DIRLIB}%.o) CXXEXELIBS:=TrackerLevel2 -OTHERLIBS=${PAM_LIB}/libGLTables.so ${DIRLIB}/libRunInfo.so +OTHERLIBS=${PAM_LIB}/libGLTables.so ${DIRLIB}/libRunInfo.so SUBDIR=../RunInfo SUBINC=$(shell for dir in `echo ${SUBDIR}`; do echo -I$${dir}/inc; done)