/[PAMELA software]/tof/flight/ToFNuclei/Makefile
ViewVC logotype

Diff of /tof/flight/ToFNuclei/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pamela, Mon Oct 13 14:00:04 2008 UTC revision 1.2 by mocchiut, Thu Aug 6 12:06:16 2009 UTC
# Line 30  GCCVER=`gcc --version | head -1` Line 30  GCCVER=`gcc --version | head -1`
30  UNAMEA=`uname -a`  UNAMEA=`uname -a`
31  TODAY=`date`  TODAY=`date`
32  # F77  # F77
33    ifeq ($(GCC4),)
34    export GCCVERS=$(shell echo `gcc -dumpversion | sed 's/\./\ /g'`)
35    export GCCVERMAJ=$(word 1,$(GCCVERS))
36    export GCC4=$(shell echo `echo "${GCCVERMAJ} > 3" |bc -l`)
37    endif
38    ifeq ($(GCC4),1)
39    F77=gfortran
40    LG2C=-lgfortran
41    EXTRAOPT=
42    else
43  F77=g77  F77=g77
44    LG2C=-lg2c
45    EXTRAOPT=-Wno-globals -fvxt
46    endif
47  #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}
48  F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash ${PAM_BIT}  F77FLAGS=  -Wall -funroll-loops -fPIC $(EXTRAOPT) -fno-automatic -fbounds-check -extend_source -static -fno-backslash ${PAM_BIT}
49  # C++  # C++
50  CXX=g++  CXX=g++
51  #CXXFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT}  #CXXFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23