Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #
  2. # Makefile for TM5
  3. #
  4. # ------------------------------------------------
  5. # compiler and flags
  6. # ------------------------------------------------
  7. # flags are written to an include file by pycasso scripts:
  8. include Makefile_flags
  9. # ------------------------------------------------
  10. # implicit rules
  11. # ------------------------------------------------
  12. # how to form object files from F90 source:
  13. %.o: %.F90
  14. $(FC) -c -o $@ $(FFLAGS) $<
  15. @echo ' '
  16. # how to form object files from f90 source:
  17. %.o: %.f90
  18. $(FC) -c -o $@ $(FFLAGS) $<
  19. @echo ' '
  20. # how to form object files from F source:
  21. %.o: %.F
  22. $(F77) -c -o $@ $(FFLAGS) $<
  23. @echo ' '
  24. # ------------------------------------------------
  25. # explicit rules
  26. # ------------------------------------------------
  27. # some module could not be compile with optim flags on some machines:
  28. mdf.o meteo.o tmm.o:
  29. $(FC) -c -o $@ $(FFLAGS_BASIC) $<
  30. @echo ' '
  31. # unknown issue with some m7. Do not optimize.
  32. m7_dconc.o m7_dnum.o:
  33. $(FC) -c -o $@ $(FFLAGS_BASIC) $<
  34. @echo ' '
  35. # ------------------------------------------------
  36. # dependencies
  37. # ------------------------------------------------
  38. # dependencies are written to an include file by pycasso scripts:
  39. include Makefile_deps
  40. # ------------------------------------------------
  41. # end
  42. # ------------------------------------------------