File: makefile.bc

package info (click to toggle)
ftnchek 2.11.2-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,392 kB
  • ctags: 2,790
  • sloc: ansic: 21,570; fortran: 2,921; yacc: 2,794; sh: 1,623; makefile: 693; lisp: 264; awk: 163
file content (49 lines) | stat: -rw-r--r-- 1,525 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Borland C version of Makefile for Fortran program checker
#  (Copy this to makefile prior to running make.)
# makefile produced with help from: Gary Bastin gbastin@x102c.ess.harris.com
#
#  NOTE: due to large number of .obj files, the link command cannot
#  name all of them, so it links "*.obj".  Therefore, make in a
#  directory with no extraneous .obj files.
#
#  Name of C compiler
CC=bcc
#  Name of directory where WILDARGS.OBJ is located
CLIB=C:\BORLANDC\LIB

#  Command to execute to make .obj file from .c file
.c.obj:
	$(CC) -c $(CFLAGS) $(OPTIONS) $<

# If your machine has less than 640K RAM, you may want to use this
# to declare smaller data areas.
OPTIONS= -DSMALL_MACHINE
#OPTIONS=

# None of the following flags should be altered.  Choose additional options
# by modifying OPTIONS above instead.
# -O: optimize.  -A: do not use C++ keywords.  -w-pro: do not warn about
# missing prototypes.  -mh: use the huge memory model.
CFLAGS=  -O -A -w-pro -mh

OBJS= ftnchek.obj forlex.obj fortran.obj plsymtab.obj pgsymtab.obj \
 symtab.obj exprtype.obj project.obj

ftnchek: $(OBJS)
	$(CC) -eftnchek.exe -mh *.obj $(CLIB)\wildargs.obj

ftnchek.obj: ftnchek.h config.h

forlex.obj: ftnchek.h keywords.h symtab.h tokdefs.h config.h

fortran.obj: ftnchek.h symtab.h config.h fortran.c

pgsymtab.obj: ftnchek.h symtab.h config.h

plsymtab.obj: ftnchek.h symtab.h config.h

symtab.obj: ftnchek.h symtab.h intrins.h config.h

exprtype.obj: ftnchek.h symtab.h tokdefs.h config.h

project.obj: ftnchek.h symtab.h config.h