1 |
# RunInfo software |
# RunInfo software |
2 |
# SOFTWARE VERSION |
# SOFTWARE VERSION |
3 |
VER= v1r03 |
VER= v1r04 |
4 |
# An almost general purpouse Makefile for PAMELA repository |
# An almost general purpouse Makefile for PAMELA repository |
5 |
# Let's start with some usefull definition for colorize the echo |
# Let's start with some usefull definition for colorize the echo |
6 |
RED='\E[1;31;40m' |
RED='\E[1;31;40m' |
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 |
35 |
F77FLAGS= -Wall -Wno-globals -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 |
36 |
# C++ |
# C++ |
37 |
CXX=g++ |
CXX=g++ |
38 |
#CXXFLAGS=-Wall -O -fPIC -pthread -g |
#CXXFLAGS=-Wall -O -fPIC -pthread -g |
315 |
else \ |
else \ |
316 |
${EYELLOW} " Forcing copy: "${WHITE} ${ORIGIN}/$${i##/*/} ;\ |
${EYELLOW} " Forcing copy: "${WHITE} ${ORIGIN}/$${i##/*/} ;\ |
317 |
${EYELLOW} " to: "${WHITE} $${i} ; ${RESET}; \ |
${EYELLOW} " to: "${WHITE} $${i} ; ${RESET}; \ |
318 |
cp -f ${ORIGIN}/$${i##/*/} $${i}; \ |
cp -rf ${ORIGIN}/$${i##/*/} $${i}; \ |
319 |
fi; \ |
fi; \ |
320 |
else \ |
else \ |
321 |
${EYELLOW} " Forcing copy: "${WHITE} ${ORIGIN}/$${i##/*/} ;\ |
${EYELLOW} " Forcing copy: "${WHITE} ${ORIGIN}/$${i##/*/} ;\ |
322 |
${EYELLOW} " to: "${WHITE} $${i} ; ${RESET}; \ |
${EYELLOW} " to: "${WHITE} $${i} ; ${RESET}; \ |
323 |
cp ${FORCE} ${ORIGIN}/$${i##/*/} $${i}; \ |
cp -rf ${FORCE} ${ORIGIN}/$${i##/*/} $${i}; \ |
324 |
fi;\ |
fi;\ |
325 |
fi ;\ |
fi ;\ |
326 |
if [ ! -z ${LINK} ] ; then \ |
if [ ! -z ${LINK} ] ; then \ |