############################################################################### # # Makefile for Eta Coordinate Post # # Use: # make - build the executable # make clean - start with a clean slate # ################################################################################# # # Define the name of the executable # TARGET = nam_combc # # CPP, Compiler, and Linker Options # LIB_PATH = /nwprod/lib FC = ifort CPP = /lib/cpp -P OPTS = -assume byterecl -convert big_endian -fp-model strict W3LIBDIR = ${LIB_PATH}/ # # Assemble Options # FFLAGS = $(OPTS) $(FIXED) LIBS = -L$(W3LIBDIR) -lw3nco_4 -lw3emc_4 -lbacio_4 # # # Non-threaded object files # OBJS= COMBC.o # $(TARGET): $(OBJS) $(FC) -o $@ $(OBJS) $(LIBS) $(OBJS): $(FC) $(FFLAGS) -c COMBC.f clean: /bin/rm -f $(TARGET) *.lst *.o *.mod #