1 |
# PamelaDigitizer |
# PamelaDigitizer |
2 |
# SOFTWARE VERSION |
# SOFTWARE VERSION |
3 |
VER= v3r05 |
VER= v3r06 |
4 |
# An almost general purpouse Makefile for PAMELA repository |
# An almost general purpouse Makefile for PAMELA repository |
5 |
# Let's start with some useful definition to make the echo colored |
# Let's start with some useful definition to make the echo colored |
6 |
RED='\E[1;31;40m' |
RED='\E[1;31;40m' |
43 |
# Compilers settings |
# Compilers settings |
44 |
ROOTCFLAGS =`root-config --cflags` |
ROOTCFLAGS =`root-config --cflags` |
45 |
ROOTLDFLAGS =`root-config --ldflags` |
ROOTLDFLAGS =`root-config --ldflags` |
46 |
ROOTLIBS =`root-config --libs` -lHbook |
ROOTLIBS =`root-config --libs` -lHbook -lminicern |
47 |
#CERNLIBS =`cernlib_noshift kernlib,packlib,genlib` |
#CERNLIBS =`cernlib_noshift kernlib,packlib,genlib` |
48 |
CERNLIBS = |
CERNLIBS = |
49 |
F77LIBS =-lg2c -lnsl |
#F77LIBS =-lg2c -lnsl |
50 |
|
F77LIBS =-lnsl |
51 |
SYSLIBS =-lm -ldl -rdynamic |
SYSLIBS =-lm -ldl -rdynamic |
52 |
LD =g++ |
LD =g++ |
53 |
CXXFLAGS= -O3 -Wall -fPIC ${ROOTCFLAGS} ${PAM_BIT} |
CXXFLAGS= -O3 -Wall -fPIC ${ROOTCFLAGS} ${PAM_BIT} |
117 |
|
|
118 |
mkverpath: |
mkverpath: |
119 |
@(${EGREEN} creating file DigitVersion.cxx; ${RESET}) |
@(${EGREEN} creating file DigitVersion.cxx; ${RESET}) |
120 |
@echo '#include <TSystem.h>' > DigitVersion.cxx; echo ' char *DigitizerInfo(bool print){ if ( print ) printf("\nPAMELA PamelaDigitizer version: ${VER}\n\nCompiled on '${TODAY}' with: '${GCCVER}'\n\nOn: '${UNAMEA}'\n\n"); return("${VER}"); }' >> DigitVersion.cxx |
@echo '#include <TSystem.h>' > DigitVersion.cxx; echo ' const char *DigitizerInfo(bool print){ if ( print ) printf("\nPAMELA PamelaDigitizer version: ${VER}\n\nCompiled on '${TODAY}' with: '${GCCVER}'\n\nOn: '${UNAMEA}'\n\n"); return("${VER}"); }' >> DigitVersion.cxx |
121 |
@sleep 1.2 |
@sleep 1.2 |
122 |
|
|
123 |
clean: |
clean: |