| 1 |
# Tracker flight analysis software |
# Tracker flight analysis software |
| 2 |
# SOFTWARE VERSION |
# SOFTWARE VERSION |
| 3 |
VER= v5r00 |
VER= v6r00 |
| 4 |
DEBUG=0 |
DEBUG=0 |
| 5 |
# An almost general purpouse Makefile for PAMELA repository |
# An almost general purpouse Makefile for PAMELA repository |
| 6 |
# Let's start with some usefull definition for colorize the echo |
# Let's start with some usefull definition for colorize the echo |
| 26 |
CC=gcc |
CC=gcc |
| 27 |
#CFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT} |
#CFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT} |
| 28 |
#CFLAGS=-Wall -O -fPIC -pthread ${PAM_BIT} |
#CFLAGS=-Wall -O -fPIC -pthread ${PAM_BIT} |
| 29 |
CFLAGS=-Wall -fPIC -pthread ${PAM_BIT} |
CFLAGS=-Wall -O3 -funroll-loops -fPIC -pthread ${PAM_BIT} |
| 30 |
|
#CFLAGS=-Wall -fPIC -pthread ${PAM_BIT} |
| 31 |
# Enviroment: |
# Enviroment: |
| 32 |
GCCVER=`gcc --version | head -1` |
GCCVER=`gcc --version | head -1` |
| 33 |
UNAMEA=`uname -a` |
UNAMEA=`uname -a` |
| 35 |
# F77 |
# F77 |
| 36 |
F77=g77 |
F77=g77 |
| 37 |
#F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -g -extend_source -static -fno-backslash ${PAM_BIT} |
#F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -g -extend_source -static -fno-backslash ${PAM_BIT} |
| 38 |
F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT} |
#F77FLAGS= -malign-double -Wall -funroll-loops -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT} |
| 39 |
|
F77FLAGS= -malign-double -Wall -funroll-loops -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT} |
| 40 |
|
#F77FLAGS= -malign-double -Wall -funroll-loops -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT} |
| 41 |
|
#F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT} |
| 42 |
|
#F77FLAGS= -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash -fPIC ${PAM_BIT} |
| 43 |
# C++ |
# C++ |
| 44 |
CXX=g++ |
CXX=g++ |
| 45 |
#CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=${DEBUG}' ${PAM_BIT} |
#CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=${DEBUG}' ${PAM_BIT} |
| 46 |
#CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=0' ${PAM_BIT} |
#CXXFLAGS=-Wall -O -fPIC -pthread -g -D'DEBUG=0' ${PAM_BIT} |
| 47 |
#CXXFLAGS=-Wall -O -fPIC -pthread -fpermissive ${PAM_BIT} |
#CXXFLAGS=-Wall -O -fPIC -pthread -fpermissive ${PAM_BIT} |
| 48 |
#CXXFLAGS=-Wall -O4 -fPIC -pthread ${PAM_BIT} |
#CXXFLAGS=-Wall -O4 -fPIC -pthread ${PAM_BIT} |
| 49 |
CXXFLAGS=-Wall -fPIC -pthread ${PAM_BIT} |
CXXFLAGS=-Wall -O3 -funroll-loops -fPIC -pthread ${PAM_BIT} |
| 50 |
|
#CXXFLAGS=-Wall -fPIC -pthread ${PAM_BIT} |
| 51 |
# ROOTCINT |
# ROOTCINT |
| 52 |
ROOTCINT=rootcint |
ROOTCINT=rootcint |
| 53 |
# Here the variables definig the local directories |
# Here the variables definig the local directories |