| 23 |
# Here the variables used to override the standard make flags |
# Here the variables used to override the standard make flags |
| 24 |
# C |
# C |
| 25 |
CC=gcc |
CC=gcc |
| 26 |
#CFLAGS=-Wall -O -fPIC -pthread -g |
#CFLAGS=-Wall -O -fPIC -pthread -g -m32 |
| 27 |
CFLAGS=-Wall -O -fPIC -pthread |
CFLAGS=-Wall -O -fPIC -pthread -m32 |
| 28 |
# Enviroment: |
# Enviroment: |
| 29 |
GCCVER=`gcc --version | head -1` |
GCCVER=`gcc --version | head -1` |
| 30 |
UNAMEA=`uname -a` |
UNAMEA=`uname -a` |
| 31 |
TODAY=`date` |
TODAY=`date` |
| 32 |
# F77 |
# F77 |
| 33 |
F77=g77 |
F77=g77 |
| 34 |
#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 |
| 35 |
F77FLAGS= -Wall -Wno-globals -fPIC -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash |
F77FLAGS= -Wall -Wno-globals -fPIC -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -m32 |
| 36 |
# C++ |
# C++ |
| 37 |
CXX=g++ |
CXX=g++ |
| 38 |
#CXXFLAGS=-Wall -O -fPIC -pthread -g |
#CXXFLAGS=-Wall -O -fPIC -pthread -g -m32 |
| 39 |
CXXFLAGS=-Wall -O4 -fPIC -pthread |
CXXFLAGS=-Wall -O4 -fPIC -pthread -m32 |
| 40 |
# ROOTCINT |
# ROOTCINT |
| 41 |
ROOTCINT=rootcint |
ROOTCINT=rootcint |
| 42 |
# Here the variables definig the local directories |
# Here the variables definig the local directories |
| 154 |
# |
# |
| 155 |
# Create *Dict.cpp and *Dict.h |
# Create *Dict.cpp and *Dict.h |
| 156 |
# |
# |
| 157 |
@${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 |
| 158 |
# |
# |
| 159 |
# create .o |
# create .o |
| 160 |
# |
# |