25 |
MAKE=make |
MAKE=make |
26 |
# C |
# C |
27 |
CC=gcc |
CC=gcc |
28 |
CFLAGS=-Wall -O -fPIC -pthread -g |
CFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT} |
29 |
#CFLAGS=-Wall -O -fPIC -pthread |
#CFLAGS=-Wall -O -fPIC -pthread ${PAM_BIT} |
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 ${PAM_BIT} |
37 |
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 ${PAM_BIT} |
38 |
# C++ |
# C++ |
39 |
CXX=g++ |
CXX=g++ |
40 |
CXXFLAGS=-Wall -O -fPIC -pthread -g |
CXXFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT} |
41 |
#CXXFLAGS=-Wall -O4 -fPIC -pthread |
#CXXFLAGS=-Wall -O4 -fPIC -pthread ${PAM_BIT} |
42 |
# ROOTCINT |
# ROOTCINT |
43 |
ROOTCINT=rootcint |
ROOTCINT=rootcint |
44 |
# Here the variables definig the local directories |
# Here the variables definig the local directories |
171 |
|
|
172 |
${CXXEXELIBS}: ${CPPOBJS} ${COBJS} ${CXXEXEOBJS} |
${CXXEXELIBS}: ${CPPOBJS} ${COBJS} ${CXXEXEOBJS} |
173 |
@(${EGREEN} "Creating exec file: "${WHITE} "$@"; ${RESET}) |
@(${EGREEN} "Creating exec file: "${WHITE} "$@"; ${RESET}) |
174 |
@${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${DIRTOP}/${DIRLIB}/libGLTables.so ${DIRTOP}/${DIRLIB}/libsgp4.so ${CPPOBJS} ../event/libyoda.so -lThread `root-config --cflags --glibs` |
@${CXX} -shared ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${DIRTOP}/${DIRLIB}/libGLTables.so ${DIRTOP}/${DIRLIB}/libsgp4.so ${CPPOBJS} ../event/libyoda.so -lThread `root-config --cflags --glibs` |
175 |
|
|
176 |
# A small target to check environmental variables |
# A small target to check environmental variables |
177 |
%_env: |
%_env: |