# 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 = app ######################################################################## # 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 -lvsso -lsv .f.o: $(F77) -c $*.f all: $(APP) $(APP)_init fix: Makefile sed "s@.(APP)@$(APP)@g" < Makefile > .Makefile mv .Makefile Makefile $(APP).f: $(APP)_rnpl $(RNPL) -l allf $(APP)_rnpl updates.f: $(APP)_rnpl residuals.f: $(APP)_rnpl initializers.f: $(APP)_rnpl $(APP)_init.f: $(APP)_rnpl $(APP)_init: $(APP)_init.o updates.o initializers.o residuals.o $(F77_LOAD) $(APP)_init.o updates.o residuals.o initializers.o $(FLIBS) -o $(APP)_init $(APP): $(APP).o updates.o residuals.o $(F77_LOAD) $(APP).o updates.o residuals.o $(FLIBS) -o $(APP) clean: rm *.hdf *.sdf .rn* $(APP) $(APP)_init > /dev/null 2>&1 rm *.o > /dev/null 2>&1 rm residuals.f updates.f initializers.f $(APP).f $(APP)_init.f > /dev/null 2>&1 rm gfuni0.inc globals.inc other_glbs.inc sys_param.inc > /dev/null 2>&1