compiler.GFORTRAN 492 Bytes
Newer Older
dumoda01's avatar
dumoda01 committed
1 2 3 4 5 6 7 8
# Set options for the GNU Fortran 95 compiler

ifeq ($(FORTRAN_COMPILER),GFORTRAN)
FC=gfortran

DEFINES    += -DFORTRAN95
can_do_F90  = true
F90_to_f90  = $(FC) -E $(F90FLAGS) $(EXTRA_FFLAGS) $< > $@
dumoda01's avatar
dumoda01 committed
9 10
MODULES    = -M $(MODDIR)
#MODULES     = -J $(MODDIR)
dumoda01's avatar
dumoda01 committed
11 12 13 14 15 16
EXTRAS      = -ffree-form -Wall -std=f95 -pedantic
DEBUG_FLAGS = -g 
PROF_FLAGS  = -p
PROD_FLAGS  = -O0
DEFINES    += -DREAL_4B=real\(4\)

dumoda01's avatar
dumoda01 committed
17 18
#NETCDFINC    = /opt/local/netcdf-3.6.1/include
#NETCDFLIBDIR = /opt/local/netcdf-3.6.1/lib
dumoda01's avatar
dumoda01 committed
19 20

endif