31 lines
1013 B
Plaintext
Executable File
31 lines
1013 B
Plaintext
Executable File
# generic g95 compiler options for OSX (intel)
|
|
# NCDF_INC netcdf include file
|
|
# NCDF_LIB netcdf library
|
|
# FC Fortran compiler command
|
|
# FCFLAGS Fortran compiler flags
|
|
# FFLAGS Fortran 77 compiler flags
|
|
# LD linker
|
|
# LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
|
# FPPFLAGS pre-processing flags
|
|
# AR assembler
|
|
# ARFLAGS assembler flags
|
|
# MK make
|
|
# USER_INC additional include files for the compiler, e.g. -I<include dir>
|
|
# USER_LIB additional libraries to pass to the linker, e.g. -l<library>
|
|
|
|
|
|
%NCDF_INC -I/usr/local/netcdf/include
|
|
%NCDF_LIB -L/usr/local/netcdf/lib -lnetcdf
|
|
%FC g95
|
|
%FCFLAGS -i4 -r8 -O3 -funroll-all-loops
|
|
%FFLAGS %FCFLAGS
|
|
%LD g95
|
|
%LDFLAGS
|
|
%FPPFLAGS -P -C -traditional
|
|
%AR libtool
|
|
%ARFLAGS -c -s -o
|
|
%MK make
|
|
%USER_INC %NCDF_INC
|
|
%USER_LIB %NCDF_LIB
|
|
|