############################################################ # 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 = tsrand ticorr tnurand all: $(EXECUTABLES) tsrand: tsrand.o $(F77_LOAD) tsrand.o -lp329f -o tsrand ticorr: ticorr.o $(F77_LOAD) ticorr.o -lp329f -lvutil -o ticorr tnurand: tnurand.o nurand.o pdfs.o $(F77_LOAD) tnurand.o nurand.o pdfs.o -lp329f -o tnurand plot: sm < sm_nurand run: Doit clean: rm *.o rm $(EXECUTABLES)