Makefile 438 B

1234567891011121314151617181920212223242526272829
  1. #!/bin/make
  2. TEXFILES =
  3. include SRCS_tex.mk
  4. PROTEXLOC = ../../protex/protex
  5. PROTEX = perl $(PROTEXLOC) -b # bare mode--no TOC
  6. #-----------------------------------------------------------------------
  7. # Documentation
  8. all:
  9. cp ../../mct/*.F90 .
  10. cp ../../mpeu/m_String.F90 .
  11. cp ../../mpeu/m_List.F90 .
  12. make doc
  13. doc: $(TEXFILES)
  14. clean:
  15. rm -f *.F90
  16. rm -f *.tex
  17. .SUFFIXES: .F90 .tex
  18. .F90.tex:
  19. $(PROTEX) $*.F90 > $*.tex
  20. #.