CC=gcc OPTDBG=-O3 -fomit-frame-pointer CFLAGS=-Wall -ansi -pedantic $(OPTDBG) RM=rm -f # Use these for g77 # FC=g77 # FFLAGS=-Wall -pedantic -fno-f77 -Wno-uninitialized $(OPTDBG) # CPPFLAGS=-DHAS_G2C -DTWO_UNDERSCORE # CPPFLAGS=-DTWO_UNDERSCORE # Use these for gfortran FC=gfortran FFLAGS=$(OPTDBG) # Use these for SUNWspro # FC=f95 # FFLAGS=-f77 -fast UTILSRC = iunixc.c iunix.f ICOOLOBJ = icool.o idiag.o ifld.o iint.o imath.o iunix.o iunixc.o .SUFFIXES: .for .for.o: $(FC) $(FFLAGS) -c $< icool : $(ICOOLOBJ) icommon.inc $(FC) $(FFLAGS) $(ICOOLOBJ) $(LDFLAGS) $(LIBS) -o $@ clean : $(RM) *.o icool *~