############################################################ # Note that this 'Makefile' assumes that the following # environment variables are set: # # F77 # F77FLAGS # F77CFLAGS # F77LFLAGS # LIBBLAS # F77PP # # 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: $(F77PP) $*.f $(F77_COMPILE) $*.f EXECUTABLES = newt2 all: $(EXECUTABLES) newt2: newt2.o $(F77_LOAD) newt2.o -lp329f -llapack $(LIBBLAS) -o newt2 clean: rm *.o rm $(EXECUTABLES)