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 | # -fbounds-check #-O3 27 | FFS= gfortran-mp-4.3 -O3 28 | CC = gcc 29 | 30 | # FREEFORMAT = -Mfree 31 | FREEFORMAT= 32 | 33 | LDFLAGS = -I. -fconvert=swap 34 | FFLAGS = -I. -fconvert=swap 35 | FFSLAGS = -I. -fconvert=swap 36 | CFLAGS = -I. -D$(DOM_HOSTTYPE) 37 | 38 | # 39 | # HDF 40 | # 41 | 42 | HDF5LIB = /usr/local/HDF5/lib 43 | HDF5L = -lz -lm 44 | 45 | # 46 | # MPI 47 | # 48 | 49 | PLIBS = 50 |