################################################################ # MAKEFILE # # DESCRIPTION # CSUMS `make' exercise. This makefile should compile # and link the 'newton' programs. # ################################################################ # # This is an commentary line in a makefile # Start of the makefile SOURCES = newton_sample.f90 roots.f90 precision.f90 myfuncs.f90 MODULES = precision.mod myfuncs.mod roots.mod OBJECTS = myfuncs.o precision.o roots.o F90 = ifort newton_main: $(OBJECTS) $(F90) $(SOURCES) -o newton roots.o: myfuncs.mod: myfuncs.o: precision.mod: precision.o: # End of the makefile