############################################################ # Note that this 'Makefile' assumes that the following # environment variables are set: # # F77 # F77FLAGS # F77CFLAGS # F77LFLAGS # LIBBLAS # LIBVS <--- Note: NEW environment vbl. !!! # # Current proper setting for LIBVS on SGIs is # # setenv LIBVS '-lsvs -lrnpl -lsv -lm' # # Put the appropriate 'setenv' commands in your '~/.cshrc'. # See 'phys410@sgi1:~/.cshrc' for an example. ############################################################ .IGNORE: F77_COMPILE = $(F77) $(F77FLAGS) $(F77CFLAGS) F77_LOAD = $(F77) $(F77FLAGS) $(F77LFLAGS) .f.o: $(F77_COMPILE) $*.f EXECUTABLES = gpwave vswave all: $(EXECUTABLES) gpwave: gpwave.o $(F77_LOAD) gpwave.o -lp410f -o gpwave vswave: vswave.o $(F77_LOAD) vswave.o -lp410f $(LIBVS) -o vswave clean: rm *.o rm *.sdf rm $(EXECUTABLES)