# # Makefile for TM5, generated by runtm5.py . # # --- init -------------------------------------------- .PHONY: help clean # --- compiler ----------------------------------------- # compiler and flags: FC = ${fc} FFLAGS = ${fflags} FFLAGS_BASIC = ${fflags_basic} # linker and flags: LINKER = ${fc} LDFLAGS = ${ldflags} LIBS = ${libs} # --- help --------------------------------------------- help: @echo " " @echo " Usage:" @echo " " @echo " ${make} tm5.x" @echo " " @echo " ${make} clean # remove object files etc" @echo " " # --- implicit rules --------------------------------- # how to form object files from f90 source: %.o: %.F90 $(FC) -c -o $@ $(FFLAGS) $< @echo ' ' # how to form object files from f90 source: %.o: %.f90 $(FC) -c -o $@ $(FFLAGS) $< @echo ' ' # specials: no optim, otherwise some compilers fail ... mdf.o: $(FC) -c -o $@ $(FFLAGS_BASIC) $< @echo ' ' # --- targets ----------------------------------------- include .depend_tm5 clean: /bin/rm -f *.mod *.o *.x .depend_tm5