# Generated automatically from Makefile.in by configure. ######################################################################## # Generic Makefile for RNPL 'f77' application ######################################################################## .IGNORE: ######################################################################## # NOTE: This Makefile uses the Bourne shell, 'sh' ######################################################################## SHELL = /bin/sh ######################################################################## # Set 'APP' to application name stem (prefix) then execute # 'make fix' to convert Makefile to use explicit targets ######################################################################## APP = wave ######################################################################## # If your application uses headers and/or libraries from # non-system locations, define the following macros appropriately ... # (set to white-space separated path names, don't use 'csh' ~ notation # for home directories) ######################################################################## USER_INC_PATHS = USER_LIB_PATHS = ######################################################################## # If you want to set non-default flags for the 'f77' compiler, do so # here ######################################################################## F77_FLAGS = RNPL = /usr/local/bin/rnpl F77 = f77 $(F77_FLAGS) -64 -O3 -YI,/usr/local/include $(USER_INC_PATHS) F77_LOAD = f77 $(F77_FLAGS) -64 -O3 -64 -L/usr/local/lib -L/usr/local/lib $(USER_LIB_PATHS) FLIBS = -lrnpl -lmfhdf -ldf -ljpeg -lz -lvs .f.o: $(F77) -c $*.f all: wave wave_init fix: Makefile sed "s@wave@wave@g" < Makefile > .Makefile mv .Makefile Makefile wave.f: wave_rnpl $(RNPL) -l f77 wave_rnpl wave_init: wave_init.o updates.o $(F77_LOAD) wave_init.o updates.o $(FLIBS) -o wave_init wave.o: wave.f updates.o: wave_rnpl wave: wave.o updates.o $(F77_LOAD) wave.o updates.o $(FLIBS) -o wave clean: rm *.hdf .rn* wave wave_init > /dev/null 2>&1 rm *.o > /dev/null 2>&1 rm initfrag.f updates.f wave.f wave_init.f rm gfuni0.inc gfuni0.inc globals.inc other_glbs.inc sys_param.inc