home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / FTNCHK32.ZIP / makefile.mpw < prev    next >
Makefile  |  1993-02-16  |  2KB  |  84 lines

  1. ### begin ###
  2.  
  3. # Macintosh Programmer's Workshop (MPW) version of Makefile
  4. # for Fortran program checker.  Execution requires MPW C.
  5.  
  6. # For shipping purposes, Mac special characters have been changed, and
  7. # must be restored as follows:
  8. #    Replace + with option-d
  9. #    Replace / with option-f
  10.  
  11.  
  12. #    Copyright (C) 1991 by Robert K. Moniot.
  13. #    This program is free software.  Permission is granted to
  14. #    modify it and/or redistribute it, retaining this notice.
  15. #    No guarantees accompany this software.
  16.  
  17.  
  18. # Object files to build
  19.  
  20. Objects = +
  21.   ftnchek.c.o forlex.c.o fortran.c.o prsymtab.c.o symtab.c.o symtab2.c.o
  22.  
  23.  
  24. # Dependencies for object files
  25.  
  26. ftnchek.c.o  / makefile ftnchek.c +
  27.                ftnchek.h
  28.  
  29. forlex.c.o   / makefile forlex.c +
  30.                ftnchek.h tokdefs.h symtab.h
  31.  
  32. fortran.c.o  / makefile fortran.c +
  33.                ftnchek.h symtab.h fortran.c
  34.  
  35. prsymtab.c.o / makefile prsymtab.c +
  36.                ftnchek.h symtab.h
  37.  
  38. symtab.c.o   / makefile symtab.c +
  39.                ftnchek.h iokeywds.h intrins.h symtab.h tokdefs.h
  40.  
  41. symtab2.c.o  / makefile symtab2.c +
  42.                ftnchek.h symtab.h tokdefs.h
  43.  
  44.  
  45. # Compiler options.  Users who don't have at least a 68020 CPU probably won't
  46. # be using this program (MPW is pretty slow on a 68000).  But if you need to,
  47. # remove the -mc68020 option from the COptions definition below.
  48.  
  49. COptions = -mc68020 -m -s {default}
  50.  
  51. # This makefile relies on the default C compiler rules built into MPW's
  52. # "Make" tool, so there are no compile commands in the makefile itself.
  53.  
  54. # Link command
  55.  
  56. ftnchek / makefile {Objects}
  57.   Link -w -ac 4 -ad 4 -c 'MPS ' -t 'MPST' +
  58.   {Objects} +
  59.   "{Libraries}"Runtime.o +
  60.   "{Libraries}"Interface.o +
  61.   "{CLibraries}"CSANELib.o +
  62.   "{CLibraries}"StdClib.o +
  63.   -o ftnchek
  64.  
  65. # Other makefile functions
  66.  
  67. clean /
  68.   delete -i {Objects}
  69.  
  70. clobber / clean
  71.   delete -i ftnchek
  72.  
  73. uninstall /
  74.   delete -i "{MPW}"Tools:ftnchek
  75.  
  76. install / ftnchek
  77.   move -y ftnchek "{MPW}"Tools:
  78.  
  79. #  Kindly provided by:
  80. #       Lee D. Rimar / Absoft Corporation
  81. #    ldr@absoft.com,  voice: 313-853-0095
  82.  
  83. ### end ###
  84.