1 | # 2 | # makefile.h for MAC with gcc-4.3 using MacPorts.org 3 | # 4 | 5 | # 6 | # Some useful declaration 7 | # 8 | 9 | MV = \mv 10 | CP = \cp 11 | RM = \rm -rf 12 | LN = \ln -s 13 | AR = \ar rv 14 | 15 | # 16 | # M4 : 17 | # 18 | 19 | M4DIR = /usr/bin/m4 20 | 21 | # 22 | # Fortran and Compiler options 23 | # 24 | 25 | #FF = mpif90 -O3 26 | #FFS= gfortran-mp-4.3 -O3 27 | FF = mpif90 -fbounds-check 28 | FFS= gfortran-mp-4.3 -fbounds-check 29 | 30 | CC = gfortran-mp-4.3 31 | 32 | # FREEFORMAT = -Mfree 33 | FREEFORMAT= 34 | 35 | LDFLAGS = -I. -fconvert=swap 36 | FFLAGS = -I. -fconvert=swap 37 | FFSLAGS = -I. -fconvert=swap 38 | CFLAGS = -I. -D$(DOM_HOSTTYPE) 39 | 40 | # 41 | # HDF 42 | # 43 | 44 | HDF5LIB = /usr/local/HDF5/lib 45 | HDF5L = -lz -lm 46 | 47 | # 48 | # MPI 49 | # 50 | 51 | PLIBS = 52 |