/[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.23 by pam-fi, Fri Feb 16 18:24:09 2007 UTC revision 1.36 by mocchiut, Fri Oct 31 15:49:08 2008 UTC
# Line 1  Line 1 
1  # Tracker flight analysis software  # Tracker flight analysis software
2  # SOFTWARE VERSION  # SOFTWARE VERSION
3  VER= v2r05  VER= v5r00
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 24  RESET=tput sgr0 Line 24  RESET=tput sgr0
24  # Here the variables used to override the standard make flags  # Here the variables used to override the standard make flags
25  # C  # C
26  CC=gcc  CC=gcc
27  #CFLAGS=-Wall -O -fPIC -pthread -g  #CFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT}
28  CFLAGS=-Wall -O -fPIC -pthread  #CFLAGS=-Wall -O -fPIC -pthread ${PAM_BIT}
29    CFLAGS=-Wall -O3 -funroll-loops -fPIC -pthread ${PAM_BIT}
30    #CFLAGS=-Wall -fPIC -pthread ${PAM_BIT}
31  # Enviroment:  # Enviroment:
32  GCCVER=`gcc --version | head -1`  GCCVER=`gcc --version | head -1`
33  UNAMEA=`uname -a`  UNAMEA=`uname -a`
34  TODAY=`date`  TODAY=`date`
35  # F77  # F77
36  F77=g77  F77=g77
37  #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  ${PAM_BIT}
38  F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC  F77FLAGS=  -Wall -funroll-loops -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT}
39    #F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT}
40  # C++  # C++
41  CXX=g++  CXX=g++
42  #CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=${DEBUG}'  #CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=${DEBUG}' ${PAM_BIT}
43  #CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=0'  #CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=0' ${PAM_BIT}
44  #CXXFLAGS=-Wall -O -fPIC -pthread -fpermissive  #CXXFLAGS=-Wall -O -fPIC -pthread -fpermissive ${PAM_BIT}
45  CXXFLAGS=-Wall -O4 -fPIC -pthread  #CXXFLAGS=-Wall -O4 -fPIC -pthread ${PAM_BIT}
46    CXXFLAGS=-Wall -O3 -funroll-loops -fPIC -pthread ${PAM_BIT}
47    #CXXFLAGS=-Wall -fPIC -pthread ${PAM_BIT}
48  # ROOTCINT  # ROOTCINT
49  ROOTCINT=rootcint  ROOTCINT=rootcint
50  # Here the variables definig the local directories  # Here the variables definig the local directories
# Line 71  FSRCS=${DIRSRC}/F77/fillpedsig.f   \ Line 76  FSRCS=${DIRSRC}/F77/fillpedsig.f   \
76          ${DIRSRC}/F77/readB.f \          ${DIRSRC}/F77/readB.f \
77          ${DIRSRC}/F77/interB.f \          ${DIRSRC}/F77/interB.f \
78          ${DIRSRC}/F77/track.f \          ${DIRSRC}/F77/track.f \
79          ${DIRSRC}/F77/grkuta.f          ${DIRSRC}/F77/grkuta.f \
80            ${DIRSRC}/F77/bdll.f      # ***PP***
81    
82  FOBJS=$(FSRCS:${DIRSRC}/F77/%.f=${DIRLIB}/%.o)  FOBJS=$(FSRCS:${DIRSRC}/F77/%.f=${DIRLIB}/%.o)
83  #-------------------------------------------------  #-------------------------------------------------
# Line 92  LIBROOTOBJS=${DIRLIB}/readB.o \ Line 98  LIBROOTOBJS=${DIRLIB}/readB.o \
98          ${DIRLIB}/interB.o \          ${DIRLIB}/interB.o \
99          ${DIRLIB}/track.o \          ${DIRLIB}/track.o \
100          ${DIRLIB}/grkuta.o \          ${DIRLIB}/grkuta.o \
101            ${DIRLIB}/bdll.o \
102          ${DIRLIB}/functionspfa.o \          ${DIRLIB}/functionspfa.o \
103          ${DIRLIB}/readallparam.o \          ${DIRLIB}/readallparam.o \
104          ${DIRLIB}/functions.o  \          ${DIRLIB}/functions.o  \
# Line 137  CXXEXESRCS=${DIRSRC}/TrackerLevel2.cpp Line 144  CXXEXESRCS=${DIRSRC}/TrackerLevel2.cpp
144  CXXEXEOBJS=$(CXXEXESRCS:${DIRSRC}%.cpp=${DIRLIB}%.o)  CXXEXEOBJS=$(CXXEXESRCS:${DIRSRC}%.cpp=${DIRLIB}%.o)
145  CXXEXELIBS:=TrackerLevel2  CXXEXELIBS:=TrackerLevel2
146    
147  OTHERLIBS=${PAM_LIB}/libGLTables.so ${DIRLIB}/libRunInfo.so  OTHERLIBS=${PAM_LIB}/libGLTables.so ${DIRLIB}/libRunInfo.so
148  SUBDIR=../RunInfo  SUBDIR=../RunInfo
149  SUBINC=$(shell for dir in `echo ${SUBDIR}`; do echo -I$${dir}/inc; done)  SUBINC=$(shell for dir in `echo ${SUBDIR}`; do echo -I$${dir}/inc; done)
150    

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.36

  ViewVC Help
Powered by ViewVC 1.1.23