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 28 | FFS= mpif90 29 | 30 | CC = gfortran-mp-4.3 31 | 32 | # FREEFORMAT = -Mfree 33 | FREEFORMAT= 34 | 35 | LDFLAGS = -I. -fconvert=swap -fbounds-check -Wall -m32 -fopenmp 36 | FFLAGS = -I. -fconvert=swap -fbounds-check -Wall -m32 -fopenmp 37 | FFSLAGS = -I. -fconvert=swap -fbounds-check -Wall -m32 -fopenmp 38 | CFLAGS = -I. -D$(DOM_HOSTTYPE) -m32 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 |