# 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 = axi ######################################################################## # 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 FLIBS = -lrnpl -lmfhdf -ldf -ljpeg -lz -lvs .f.o: $(F77) -c $*.f all: axi axi_init fix: Makefile sed "s@axi@axi@g" < Makefile > .Makefile mv .Makefile Makefile axi.f: axi_rnpl $(RNPL) -l f77 axi_rnpl axi_init: axi_init.o updates.o $(F77_LOAD) axi_init.o updates.o $(FLIBS) -o axi_init axi.o: axi.f updates.o: axi_rnpl axi: axi.o updates.o $(F77_LOAD) axi.o updates.o $(FLIBS) -o axi clean: rm *.hdf .rn* axi axi_init > /dev/null 2>&1 rm *.o > /dev/null 2>&1 rm initfrag.f updates.f axi.f axi_init.f rm gfuni0.inc globals.inc other_glbs.inc sys_param.inc