home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / FTNCHEK2.ZIP / SOURCE / MAKEFILE < prev    next >
Text File  |  1993-02-19  |  2KB  |  66 lines

  1. # Unix version of Makefile for Fortran program checker
  2. #
  3. # Add machine-specific targets IBM-RS6000, GENERIC,
  4. # STARDENT, SUNOS4.0, SUNOS4.1, ULTRIX-MIPS
  5.  
  6. #    Copyright (C) 1991 by Robert K. Moniot.
  7. #    This program is free software.  Permission is granted to
  8. #    modify it and/or redistribute it, retaining this notice.
  9. #    No guarantees accompany this software.
  10.  
  11. # Acknowledgements and thanks to Nelson H.F. Beebe of University of Utah
  12. # for improvements to this makefile.
  13.  
  14. # These definitions should be customized for your local conventions
  15. # if you want to do "make install" or "make uninstall"
  16. #BINDIR  =       /usr/local/bin
  17. #CP      =       icc
  18. #MANDIR  =       /usr/local/man
  19.  
  20. # OPTIONS is used to define various characteristics.  Most commonly
  21. # needed ones are given below; uncomment whichever you like.
  22. # See ftnchek.h for others, with their defaults and explanations.
  23.  
  24. #  To use the defaults for everything uncomment this:
  25. #OPTIONS=
  26.  
  27. #  To make all table sizes 10x bigger than defaults uncomment this:
  28. OPTIONS= /DLARGE_MACHINE
  29.  
  30. #  To prohibit underscores in variable names, inline comments
  31. #   starting with '!',  the DO ... ENDDO loop forms and INCLUDE statements:
  32. #OPTIONS= -DSTRICT_SYNTAX
  33.  
  34.  
  35. # CFLAGS is used to define the operating system and options
  36. # Other
  37. CFLAGS= /DUNIX $(OPTIONS) /O+ /Ge+ /Gm- /D_BSD
  38.  
  39. CC=     icc
  40.  
  41. YFLAGS= /d
  42.  
  43. OBJS= ftnchek.obj forlex.obj fortran.obj prsymtab.obj symtab.obj symtab2.obj
  44.  
  45.  
  46. #ICC knows how to build this (I hope...)
  47. ftnchek: $(OBJS)
  48.         $(CC) $(OBJS)
  49.  
  50.  
  51. ftnchek.obj: ftnchek.h
  52.  
  53. forlex.obj: ftnchek.h tokdefs.h symtab.h
  54.  
  55. fortran.obj: ftnchek.h symtab.h fortran.c
  56.  
  57. prsymtab.obj: ftnchek.h symtab.h
  58.  
  59. symtab.obj: ftnchek.h iokeywds.h intrins.h symtab.h tokdefs.h
  60.  
  61. symtab2.obj: ftnchek.h symtab.h tokdefs.h
  62.  
  63.  
  64. .c.obj    :
  65.         $(cc) /c $(CFLAGS) $<
  66.