# makefile for nos_to_v5d.f conversion program # The input to the conversion program is your 5-D grid format. # The ouput is a v5d file. # By default, the name of the conversion program is 'foo2_to_v5d'. You should # probably use a better name. Assign that name to PROGRAM here: PROGRAM = Analinc3dvar_to_v5d # If DEC or Linux, (Little-endian), add -DLITTLE to CFLAGS # If AIX, remove the -DUNDERSCORE CFLAGS = -c -g -DLITTLE FFLAGS = -c -g -byteswapio CC = cc F77 = pgf77 LIBS = -lm /home/vhomar/bin/lib/libv5d.a OBJECTS = $(PROGRAM).o $(PROGRAM): $(OBJECTS) $(F77) $(OBJECTS) $(LIBS) -o $@ $(PROGRAM).o: $(PROGRAM).f $(F77) $(FFLAGS) -I/home/vhomar/bin/include/vis5d+/ $(PROGRAM).f