# 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) CC = cc $(COPT) -O -DSGI -64 $(USER_INC_PATHS) -DIO_RNPLIO -I/usr/local/include -DSTDC_HEADERS=1 -DWORDS_BIGENDIAN=1 -DHAVE_STRDUP=1 -DHAVE_ATEXIT=1 -DF77_HAS_SYSTEM -DF77_HAS_MKDIR -DF77_HAS_CHDIR -DHAVE_LIBVS=1 -DHAVE_LIBSV=1 -DDAGH_NO_MPI CC_LOAD = cc $(COPT) -O -DSGI -64 $(USER_LIB_PATHS) -64 -L/usr/local/lib -L/usr/local/lib CLIBS = -lrnpl -lvsso -lsv -lm -lftn .c.o: $(CC) -c $*.c .f.o: $(F77) -c $*.f all: $(APP) $(APP)_init fix: Makefile sed "s@.(APP)@$(APP)@g" < Makefile > .Makefile mv .Makefile Makefile $(APP).c: $(APP)_rnpl $(RNPL) -l f77 $(APP)_rnpl updates.f: $(APP)_rnpl residuals.f: $(APP)_rnpl initializers.f: $(APP)_rnpl $(APP)_init.c: $(APP)_rnpl $(APP)_init: $(APP)_init.o updates.o initializers.o residuals.o $(CC_LOAD) $(APP)_init.o updates.o residuals.o initializers.o $(CLIBS) -o $(APP)_init $(APP): $(APP).o updates.o residuals.o $(CC_LOAD) $(APP).o updates.o residuals.o $(CLIBS) -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).c $(APP)_init.c > /dev/null 2>&1 rm gfuni0.inc globals.inc other_glbs.inc sys_param.inc > /dev/null 2>&1