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 |
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 -m32 |
28 |
CFLAGS=-Wall -O -fPIC -pthread |
#CFLAGS=-Wall -O -fPIC -pthread -m32 |
29 |
|
CFLAGS=-Wall -fPIC -pthread -m32 |
30 |
# Enviroment: |
# Enviroment: |
31 |
GCCVER=`gcc --version | head -1` |
GCCVER=`gcc --version | head -1` |
32 |
UNAMEA=`uname -a` |
UNAMEA=`uname -a` |
33 |
TODAY=`date` |
TODAY=`date` |
34 |
# F77 |
# F77 |
35 |
F77=g77 |
F77=g77 |
36 |
#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 -m32 |
37 |
F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC |
F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC -m32 |
38 |
# C++ |
# C++ |
39 |
CXX=g++ |
CXX=g++ |
40 |
#CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=${DEBUG}' |
#CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=${DEBUG}' -m32 |
41 |
#CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=0' |
#CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=0' -m32 |
42 |
#CXXFLAGS=-Wall -O -fPIC -pthread -fpermissive |
#CXXFLAGS=-Wall -O -fPIC -pthread -fpermissive -m32 |
43 |
CXXFLAGS=-Wall -O4 -fPIC -pthread |
#CXXFLAGS=-Wall -O4 -fPIC -pthread -m32 |
44 |
|
CXXFLAGS=-Wall -fPIC -pthread -m32 |
45 |
# ROOTCINT |
# ROOTCINT |
46 |
ROOTCINT=rootcint |
ROOTCINT=rootcint |
47 |
# Here the variables definig the local directories |
# Here the variables definig the local directories |
73 |
${DIRSRC}/F77/readB.f \ |
${DIRSRC}/F77/readB.f \ |
74 |
${DIRSRC}/F77/interB.f \ |
${DIRSRC}/F77/interB.f \ |
75 |
${DIRSRC}/F77/track.f \ |
${DIRSRC}/F77/track.f \ |
76 |
${DIRSRC}/F77/grkuta.f |
${DIRSRC}/F77/grkuta.f \ |
77 |
|
${DIRSRC}/F77/bdll.f # ***PP*** |
78 |
|
|
79 |
FOBJS=$(FSRCS:${DIRSRC}/F77/%.f=${DIRLIB}/%.o) |
FOBJS=$(FSRCS:${DIRSRC}/F77/%.f=${DIRLIB}/%.o) |
80 |
#------------------------------------------------- |
#------------------------------------------------- |
95 |
${DIRLIB}/interB.o \ |
${DIRLIB}/interB.o \ |
96 |
${DIRLIB}/track.o \ |
${DIRLIB}/track.o \ |
97 |
${DIRLIB}/grkuta.o \ |
${DIRLIB}/grkuta.o \ |
98 |
|
${DIRLIB}/bdll.o \ |
99 |
${DIRLIB}/functionspfa.o \ |
${DIRLIB}/functionspfa.o \ |
100 |
${DIRLIB}/readallparam.o \ |
${DIRLIB}/readallparam.o \ |
101 |
${DIRLIB}/functions.o \ |
${DIRLIB}/functions.o \ |
141 |
CXXEXEOBJS=$(CXXEXESRCS:${DIRSRC}%.cpp=${DIRLIB}%.o) |
CXXEXEOBJS=$(CXXEXESRCS:${DIRSRC}%.cpp=${DIRLIB}%.o) |
142 |
CXXEXELIBS:=TrackerLevel2 |
CXXEXELIBS:=TrackerLevel2 |
143 |
|
|
144 |
OTHERLIBS=${PAM_LIB}/libGLTables.so ${DIRLIB}/libRunInfo.so |
OTHERLIBS=${PAM_LIB}/libGLTables.so ${DIRLIB}/libRunInfo.so |
145 |
SUBDIR=../RunInfo |
SUBDIR=../RunInfo |
146 |
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) |
147 |
|
|