############################################################ # Note that this 'Makefile' assumes that the following # environment variables are set: # # F77 # F77PP # F77FLAGS # F77CFLAGS # F77LFLAGS # # # F77PP is the name of the program which wil translate # Fortran 77 source code written on the SGIs to a form # appropriate for the target machine: # # SGIs: setenv F77PP touch # Crays: setenv F77PP f77transcray # # EXERCISE: Put the appropriate 'setenv' commands in # your '~/.cshrc'. See 'phy329@einstein:~/.cshrc' for # specifics. ############################################################ .IGNORE: F77_COMPILE = $(F77) $(F77FLAGS) $(F77CFLAGS) F77_LOAD = $(F77) $(F77FLAGS) $(F77LFLAGS) .f.o: $(F77PP) $*.f $(F77_COMPILE) $*.f EXECUTABLES = tdm all: $(EXECUTABLES) tdm: tdm.o dmroutines.o $(F77_LOAD) tdm.o dmroutines.o -lp329f -o tdm clean: rm *.o rm $(EXECUTABLES)