home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / FTNCHK32.ZIP / makeemx.os2 < prev    next >
Text File  |  1993-02-17  |  1KB  |  41 lines

  1. # OS2 version of Makefile for Fortran program checker
  2. # to be compiled with emx-0.8f development system.
  3. # (Copy this to makefile prior to running dmake.)
  4. # makefile produced by: Jan Ftacnik  ftacnikj@fnal05.fnal.gov
  5. #
  6. # Note: This makefile is for use with DMAKE (that is what I use)
  7. # It uses generic UNIX switches, I have changed just compiler
  8. # specific options and defined .def file to avoid warnings.
  9. #
  10. # This version produces fchekemx.exe that uses emx dll libraries
  11. # that need to be installed somewhere in the LIBPATH.
  12.  
  13. # We are using the defaults for everything:
  14. OPTIONS=
  15.  
  16. # define compilation flags
  17. CFLAGS= -Zomf -Zmt -DUNIX $(OPTIONS) -O2 -D_BSD
  18.  
  19. OBJS= ftnchek.obj forlex.obj fortran.obj prsymtab.obj symtab.obj symtab2.obj
  20.  
  21. ftnchek.exe: $(OBJS)
  22.     gcc -o fchekemx.exe $(CFLAGS) $(OBJS) ftnchek.def
  23.  
  24. ftnchek.obj: ftnchek.h
  25.     gcc -c $(CFLAGS) ftnchek.c
  26.  
  27. forlex.obj: ftnchek.h tokdefs.h symtab.h
  28.     gcc -c $(CFLAGS) forlex.c
  29.  
  30. fortran.obj: ftnchek.h symtab.h fortran.c
  31.     gcc -c $(CFLAGS) fortran.c
  32.  
  33. prsymtab.obj: ftnchek.h symtab.h
  34.     gcc -c $(CFLAGS) prsymtab.c
  35.  
  36. symtab.obj: ftnchek.h symtab.h intrins.h
  37.     gcc -c $(CFLAGS) symtab.c
  38.  
  39. symtab2.obj: ftnchek.h symtab.h tokdefs.h
  40.     gcc -c $(CFLAGS) symtab2.c
  41.