| 1 |
# Calorimeter "Franzini" method plugin |
# Calorimeter "Franzini" method plugin |
| 2 |
# SOFTWARE VERSION |
# SOFTWARE VERSION |
| 3 |
VER= v0r00 |
VER= v1r00 |
| 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' |
| 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 -fPIC -pthread -g -m32 |
#CFLAGS=-Wall -fPIC -pthread -g ${PAM_BIT} |
| 27 |
CFLAGS=-Wall -O4 -fPIC -pthread -m32 |
CFLAGS=-Wall -O4 -fPIC -pthread ${PAM_BIT} |
| 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 -m32 |
#F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -g -extend_source -static -fno-backslash ${PAM_BIT} |
| 35 |
F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -m32 |
F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash ${PAM_BIT} |
| 36 |
# C++ |
# C++ |
| 37 |
CXX=g++ |
CXX=g++ |
| 38 |
#CXXFLAGS=-Wall -fPIC -pthread -g -m32 |
#CXXFLAGS=-Wall -fPIC -pthread -g ${PAM_BIT} |
| 39 |
CXXFLAGS=-Wall -O4 -fPIC -pthread -m32 |
CXXFLAGS=-Wall -O4 -fPIC -pthread ${PAM_BIT} |
| 40 |
# ROOTCINT |
# ROOTCINT |
| 41 |
ROOTCINT=rootcint |
ROOTCINT=rootcint |
| 42 |
# Here the variables definig the local directories |
# Here the variables definig the local directories |