/[PAMELA software]/DarthVader/TrackerLevel2/Makefile
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by pam-fi, Fri Nov 10 11:38:43 2006 UTC revision 1.21 by mocchiut, Tue Jan 23 15:36:50 2007 UTC
# Line 1  Line 1 
1  # Tracker flight analysis software  # Tracker flight analysis software
2  # SOFTWARE VERSION  # SOFTWARE VERSION
3  VER= v2r00  VER= v2r04
4  DEBUG=0  DEBUG=0
5  # An almost general purpouse Makefile for PAMELA repository  # An almost general purpouse Makefile for PAMELA repository
6  # Let's start with some usefull definition for colorize the echo  # Let's start with some usefull definition for colorize the echo
# Line 33  TODAY=`date` Line 33  TODAY=`date`
33  # F77  # F77
34  F77=g77  F77=g77
35  #F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -g -extend_source -static -fno-backslash  #F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -g -extend_source -static -fno-backslash
36  F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash  F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC
37  # C++  # C++
38  CXX=g++  CXX=g++
39  #CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=${DEBUG}'  #CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=${DEBUG}'
40  #CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=0'  #CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=0'
41  #CXXFLAGS=-Wall -O -fPIC -pthread -fpermissive  #CXXFLAGS=-Wall -O -fPIC -pthread -fpermissive
42  CXXFLAGS=-Wall -O -fPIC -pthread  CXXFLAGS=-Wall -O4 -fPIC -pthread
43  # ROOTCINT  # ROOTCINT
44  ROOTCINT=rootcint  ROOTCINT=rootcint
45  # Here the variables definig the local directories  # Here the variables definig the local directories
# Line 81  COBJS=$(CSRCS:${DIRSRC}%.cpp=${DIRLIB}/% Line 81  COBJS=$(CSRCS:${DIRSRC}%.cpp=${DIRLIB}/%
81  # librerie utilizzabili da root (ci deve essere anche il ***LinkDef.h )  # librerie utilizzabili da root (ci deve essere anche il ***LinkDef.h )
82  LIBROOTSRCS=    ${DIRSRC}/TrkLevel2.cpp  \  LIBROOTSRCS=    ${DIRSRC}/TrkLevel2.cpp  \
83                  ${DIRSRC}/TrkLevel1.cpp \                  ${DIRSRC}/TrkLevel1.cpp \
84                  ${DIRSRC}/TrkHough.cpp                  ${DIRSRC}/TrkHough.cpp \
85                    ${DIRSRC}/TrkCalib.cpp
86    
87  #LIBROOTSRCS=    #LIBROOTSRCS=  
88  LIBROOTLIBS=$(LIBROOTSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)  LIBROOTLIBS=$(LIBROOTSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)
89  LIBROOTOBJS=${DIRLIB}/readB.o ${DIRLIB}/interB.o ${DIRLIB}/track.o ${DIRLIB}/grkuta.o ${DIRLIB}/functionspfa.o ${DIRLIB}/readallparam.o ${DIRLIB}/functions.o ${DIRLIB}/mini.o ${DIRLIB}/tricircle.o  LIBROOTOBJS=${DIRLIB}/readB.o ${DIRLIB}/interB.o ${DIRLIB}/track.o ${DIRLIB}/grkuta.o ${DIRLIB}/functionspfa.o ${DIRLIB}/readallparam.o ${DIRLIB}/functions.o ${DIRLIB}/mini.o ${DIRLIB}/tricircle.o
90  LIBROOTCLIBS=libTrkLevel2 libTrkLevel1 libTrkHough  LIBROOTCLIBS=libTrkLevel2 libTrkLevel1 libTrkHough libTrkCalib
91    
92  #LIBROOTCLIBS=  #LIBROOTCLIBS=
93  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB}/%_${VER}.so)  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB}/%_${VER}.so)
# Line 130  INCSRCS= \ Line 132  INCSRCS= \
132          ${DIRINC}/TrkLevel1.h \          ${DIRINC}/TrkLevel1.h \
133          ${DIRINC}/TrkLevel0.h \          ${DIRINC}/TrkLevel0.h \
134          ${DIRINC}/TrkHough.h \          ${DIRINC}/TrkHough.h \
135            ${DIRINC}/TrkCalib.h \
136          ${DIRINC}/TrkStruct.h \          ${DIRINC}/TrkStruct.h \
137          ${DIRINC}/TrkProcess.h \          ${DIRINC}/TrkProcess.h \
138          ${DIRINC}/TrkCore.h \          ${DIRINC}/TrkCore.h \
# Line 185  ${LIBROOTLIBS}: ${LIBROOTSRCS} ${FOBJS} Line 188  ${LIBROOTLIBS}: ${LIBROOTSRCS} ${FOBJS}
188  #  #
189  #       Create *Dict.cpp and *Dict.h  #       Create *Dict.cpp and *Dict.h
190  #  #
191          @${ROOTCINT} -f ${DIRSRC}/`basename $(@F) _${VER}.so | sed s/lib//`Dict.cpp -c -I${ROOTINC} -I${PAM_YODA}/include/yoda/ -I${PAM_INC}/ ${DIRINC}/`basename $(@F) _${VER}.so | sed s/lib//`.h ${DIRINC}/`basename $(@F) _${VER}.so | sed s/lib//`LinkDef.h          @${ROOTCINT} -f ${DIRSRC}/`basename $(@F) _${VER}.so | sed s/lib//`Dict.cpp -c -I${DIRINC} -I${ROOTINC} -I${PAM_YODA}/include/yoda/ -I${PAM_INC}/ ${DIRINC}/`basename $(@F) _${VER}.so | sed s/lib//`.h ${DIRINC}/`basename $(@F) _${VER}.so | sed s/lib//`LinkDef.h
192  #  #
193  #       create .o  #       create .o
194  #  #

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.23