diff -urN Avl_orig/bin/Makefile Avl/bin/Makefile --- Avl_orig/bin/Makefile 2009-07-17 09:36:17.000000000 -0400 +++ Avl/bin/Makefile 2009-07-17 09:41:37.000000000 -0400 @@ -2,7 +2,7 @@ # Makefile for AVL # -BINDIR = . +BINDIR = @PREFIX@/bin SRC = ../src @@ -23,9 +23,9 @@ ###================================================ ### Default compilers and flags -FC = f77 +FC = gfortran FFLAGS = -O -PLTLIB = -lX11 +PLTLIB = -L/usr/X11R6/lib -lX11 FTNLIB = #Subroutine SECOND source file @@ -64,14 +64,14 @@ #FFLAGS = -O3 ##-------------------------- ### Intel Fortran Compiler 8.x -FC = ifort -FFLAGS = -O -PLTLIB = -L/usr/X11R6/lib -lX11 -SECOND = second_ifc.f +#FC = ifort +#FFLAGS = -O +#PLTLIB = -L/usr/X11R6/lib -lX11 +#SECOND = second_ifc.f #FTNLIB = -Vaxlib ##-------------------------- ### double-precision option (also need double precision Eispack and libPlt) -FFLAGS = -O -r8 +FFLAGS = -O3 -fdefault-real-8 PLTOBJ = ../plotlib/libPltDP.a diff -urN Avl_orig/eispack/Makefile Avl/eispack/Makefile --- Avl_orig/eispack/Makefile 2009-07-17 09:36:17.000000000 -0400 +++ Avl/eispack/Makefile 2009-07-17 09:42:31.000000000 -0400 @@ -1,7 +1,7 @@ #FC = f77 -FC = ifort -FLG = -O +FC = gfortran +FLG = -O3 -fdefault-real-8 EISLIB = eispack.a AR = ar r RAN = ranlib diff -urN Avl_orig/plotlib/Makefile Avl/plotlib/Makefile --- Avl_orig/plotlib/Makefile 2009-07-17 09:36:17.000000000 -0400 +++ Avl/plotlib/Makefile 2009-07-17 09:45:25.000000000 -0400 @@ -32,11 +32,11 @@ # Point to your install directory #INSTALLDIR= $(HOME)/lib #INSTALLDIR= /usr/local/lib -#INSTALLDIR= . +INSTALLDIR= @PREFIX@/lib # Use these to set default library name (overridden in config.make file) -PLTLIB = libPlt.a -#PLTLIB = libPltDP.a +#PLTLIB = libPlt.a +PLTLIB = libPltDP.a ###======================================================== @@ -50,7 +50,7 @@ ### ###-------------------------------------------------------- ### Uncomment to add the old plot compatibility routines -OBJOLD = plt_old.o +#OBJOLD = plt_old.o ### ###-------------------------------------------------------- ### Uncomment to add the primitive 3D-view routines @@ -69,14 +69,14 @@ ###================================================ ### Default compilers and flags, install commands -FC = f77 -CC = cc +FC = gfortran +CC = gcc # Some fortrans need trailing underscores in C interface symbols (see Xwin.c) DEFINE = -DUNDERSCORE # Uncomment DP to make double-precision version -#DP = -r8 -FFLAGS = -O $(DP) -CFLAGS = -O $(DEFINE) +DP = -fdefault-real-8 +FFLAGS = -O3 $(DP) +CFLAGS = -O2 -I/usr/X11R6/include/ $(DEFINE) AR = ar r RANLIB = ranlib LINKLIB = -lX11 diff -urN Avl_orig/plotlib/config.make.DP Avl/plotlib/config.make.DP --- Avl_orig/plotlib/config.make.DP 2009-07-17 09:36:17.000000000 -0400 +++ Avl/plotlib/config.make.DP 2009-07-17 11:10:46.000000000 -0400 @@ -127,3 +127,16 @@ #RANLIB = ar qs #LINKLIB = -lX11 +###------------------------------------------------------------------------- +### Uncomment for OS X using Fink packaging system +# +FC = gfortran +CC = gcc +# Uncomment DP to make double-precision version +DP = -fdefault-real-8 +FFLAGS = -O3 $(DP) +CFLAGS = -O2 -I/usr/X11R6/include/ $(DEFINE) +AR = ar r +RANLIB = ranlib +LINKLIB = -L/usr/X11R6/lib -lX11 +