############################################################ # Note that this 'Makefile' assumes that the following # environment variables are set: # # F77 # F77FLAGS # F77CFLAGS # F77LFLAGS # LIBBLAS # # Put the appropriate 'setenv' commands in your '~/.cshrc'. # See 'phy329@einstein:~/.cshrc' for an example. ############################################################ .IGNORE: F77_COMPILE = $(F77) $(F77FLAGS) $(F77CFLAGS) F77_LOAD = $(F77) $(F77FLAGS) $(F77LFLAGS) .f.o: $(F77_COMPILE) $*.f EXECUTABLES = bvp1d all: $(EXECUTABLES) bvp1d: bvp1d.o $(F77_LOAD) bvp1d.o -lp329f -llapack $(LIBBLAS) -o bvp1d clean: rm *.o rm $(EXECUTABLES) ############################################################ # Note the 'vclean' target: 'make vclean' results in # 'make clean' followed by removal of input and output # data files and postscript files. ############################################################ vclean: clean rm err[0-9]* rm out[0-9]* rm *.ps