home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
FTNCHK32.ZIP
/
MAKEFILE.OS2
< prev
next >
Wrap
Text File
|
1993-02-17
|
1KB
|
40 lines
# OS2 version of Makefile for Fortran program checker
# to be compiled with emx-0.8f development system.
# (Copy this to makefile prior to running dmake.)
# makefile produced by: Jan Ftacnik ftacnikj@fnal05.fnal.gov
# Note: This makefile is for use with DMAKE (that is what I use)
# It uses generic UNIX switches, I have changed just compiler
# specific options and defined .def file to avoid warnings.
#
# This version produces ftnchek.exe as OS2 executable without
# the need to have any emx dll libraries installed.
# We are using the defaults for everything:
OPTIONS=
# define compilation flags
CFLAGS= -Zomf -Zsys -DUNIX $(OPTIONS) -O2 -D_BSD
OBJS= ftnchek.obj forlex.obj fortran.obj prsymtab.obj symtab.obj symtab2.obj
ftnchek.exe: $(OBJS)
gcc -o ftnchek.exe $(CFLAGS) $(OBJS) ftnchek.def
ftnchek.obj: ftnchek.h
gcc -c $(CFLAGS) ftnchek.c
forlex.obj: ftnchek.h tokdefs.h symtab.h
gcc -c $(CFLAGS) forlex.c
fortran.obj: ftnchek.h symtab.h fortran.c
gcc -c $(CFLAGS) fortran.c
prsymtab.obj: ftnchek.h symtab.h
gcc -c $(CFLAGS) prsymtab.c
symtab.obj: ftnchek.h symtab.h intrins.h
gcc -c $(CFLAGS) symtab.c
symtab2.obj: ftnchek.h symtab.h tokdefs.h
gcc -c $(CFLAGS) symtab2.c