home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / fchk294s.zip / ftnchek-2.9.4 / makefile.bc < prev    next >
Makefile  |  1996-04-10  |  1KB  |  50 lines

  1. # Borland C version of Makefile for Fortran program checker
  2. #  (Copy this to makefile prior to running make.)
  3. # makefile produced with help from: Gary Bastin gbastin@x102c.ess.harris.com
  4. #
  5. #  NOTE: due to large number of .obj files, the link command cannot
  6. #  name all of them, so it links "*.obj".  Therefore, make in a
  7. #  directory with no extraneous .obj files.
  8. #
  9. #  Name of C compiler
  10. CC=bcc
  11. #  Name of directory where WILDARGS.OBJ is located
  12. CLIB=C:\BORLANDC\LIB
  13.  
  14. #  Command to execute to make .obj file from .c file
  15. .c.obj:
  16.     $(CC) -c $(CFLAGS) $(OPTIONS) $<
  17.  
  18. # If your machine has less than 640K RAM, you may want to use this
  19. # to declare smaller data areas.
  20. OPTIONS= -DSMALL_MACHINE
  21. #OPTIONS=
  22.  
  23. # None of the following flags should be altered.  Choose additional options
  24. # by modifying OPTIONS above instead.
  25. # -O: optimize.  -A: do not use C++ keywords.  -w-pro: do not warn about
  26. # missing prototypes.  -mh: use the huge memory model.
  27. CFLAGS=  -O -A -w-pro -mh
  28.  
  29. OBJS= ftnchek.obj forlex.obj fortran.obj plsymtab.obj pgsymtab.obj \
  30.  symtab.obj exprtype.obj project.obj
  31.  
  32. ftnchek: $(OBJS)
  33.     $(CC) -eftnchek.exe -mh *.obj $(CLIB)\wildargs.obj
  34.  
  35. ftnchek.obj: ftnchek.h
  36.  
  37. forlex.obj: ftnchek.h keywords.h symtab.h tokdefs.h
  38.  
  39. fortran.obj: ftnchek.h symtab.h fortran.c
  40.  
  41. pgsymtab.obj: ftnchek.h symtab.h
  42.  
  43. plsymtab.obj: ftnchek.h symtab.h
  44.  
  45. symtab.obj: ftnchek.h symtab.h intrins.h
  46.  
  47. exprtype.obj: ftnchek.h symtab.h tokdefs.h
  48.  
  49. project.obj: ftnchek.h symtab.h
  50.