32 |
# C |
# C |
33 |
export CC=gcc |
export CC=gcc |
34 |
#CFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT} |
#CFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT} |
35 |
export CFLAGS=-Wall -O3 -funroll-loops -fPIC -pthread ${PAM_BIT} |
export CFLAGS=-Wall -g -O3 -funroll-loops -fPIC -pthread ${PAM_BIT} |
36 |
# F77 |
# F77 |
37 |
ifeq ($(GCC4),1) |
ifeq ($(GCC4),1) |
38 |
export F77=gfortran |
export F77=gfortran |
39 |
export LG2C=-lgfortran |
export LG2C=-lgfortran |
40 |
export EXTRAOPT= |
export EXTRAOPT= |
41 |
else |
else |
42 |
export F77=g77 |
export F77=g77 |
43 |
export LG2C=-lg2c |
export LG2C=-lg2c |
44 |
export EXTRAOPT=-Wno-globals -fvxt |
export EXTRAOPT=-Wno-globals -fvxt |
45 |
endif |
endif |
46 |
#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} |
47 |
export F77FLAGS= -Wall -funroll-loops -fPIC $(EXTRAOPT) -fno-automatic -fbounds-check -extend_source -static -fno-backslash ${PAM_BIT} |
export F77FLAGS= -Wall -funroll-loops -fPIC $(EXTRAOPT) -fbounds-check -fno-automatic -extend_source -static -fno-backslash ${PAM_BIT} |
48 |
# C++ |
# C++ |
49 |
export CXX=g++ |
export CXX=g++ |
50 |
#export CXXFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT} |
#export CXXFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT} |