home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / fchek284.zip / makefile.bc < prev    next >
Makefile  |  1995-01-29  |  2KB  |  53 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.  newargh.obj newarge.obj newcomh.obj newcome.obj
  32.  
  33. ftnchek: $(OBJS)
  34.     $(CC) -eftnchek.exe -mh *.obj $(CLIB)\wildargs.obj
  35.  
  36. ftnchek.obj: ftnchek.h
  37.  
  38. forlex.obj: ftnchek.h keywords.h symtab.h tokdefs.h
  39.  
  40. fortran.obj: ftnchek.h symtab.h fortran.c
  41.  
  42. newargh.obj newarge.obj newcomh.obj newcome.obj: ftnchek.h symtab.h
  43.  
  44. pgsymtab.obj: ftnchek.h symtab.h
  45.  
  46. plsymtab.obj: ftnchek.h symtab.h
  47.  
  48. symtab.obj: ftnchek.h symtab.h intrins.h
  49.  
  50. exprtype.obj: ftnchek.h symtab.h tokdefs.h
  51.  
  52. project.obj: ftnchek.h symtab.h
  53.