diff -ruN eden_orig/source/Makefile eden/source/Makefile --- eden_orig/source/Makefile 2004-11-21 23:55:13.000000000 -0800 +++ eden/source/Makefile 2004-11-22 00:08:51.000000000 -0800 @@ -56,14 +56,14 @@ ####################################################################### # Directory where the FFTW include and lib are ####################################################################### -FFTW = /sw +FFTW = /swprefix LIB = $(FFTW)/lib INC = $(FFTW)/include ####################################################################### # Directory to install the binary, version ####################################################################### -BIN = $(HOME)/bin +BIN = /swinstallprefix/bin VERSION =V5.3 ####################################################################### @@ -74,7 +74,11 @@ # -O3 on HP, -O2 on SGI or DEC. # ####################################################################### -CFLAGS = -Wall -pipe -g3 +# added for os x fink: + +CFLAGS = -Wall -pipe -g3 -Wno-long-double + +#CFLAGS = -Wall -pipe -g3 #CFLAGS = -Wall -pipe -marchi686 -pedantic -gdwarf-2 -g3 #CFLAGS = -Wall -O3 -march=i686 ifneq ($(FFTW),/usr/local) @@ -88,7 +92,9 @@ # Use different libraries and include files for single and # double precision versions of EDEN. ####################################################################### -DOUBLESWITCH = ON +# got rid of tab + +DOUBLESWITCH = ON ifeq ($(DOUBLESWITCH),ON) LDFLAGS = -L$(LIB) -ldfftw -lm @@ -126,8 +132,8 @@ $(CC) -o $@ $^ install: all - mv fbyteswap $(BIN) - mv eden $(BIN)/$(TARGET) + cp fbyteswap $(BIN) + cp eden $(BIN)/$(TARGET) chmod 751 $(BIN)/$(TARGET) chmod +x mkeden.csh ./mkeden.csh $(BIN) $(BIN)/$(TARGET)