File: makefile.bcc32

package info (click to toggle)
ftnchek 3.3.1-7
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,684 kB
  • sloc: ansic: 21,908; fortran: 5,748; yacc: 4,071; sh: 3,035; makefile: 895; lisp: 322; f90: 118; perl: 76
file content (100 lines) | stat: -rwxr-xr-x 3,514 bytes parent folder | download | duplicates (5)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Borland C++ Win32 (BCC32) version of Makefile for Fortran program checker
#
#  NOTE: For simplicity and to avoid a possibly overly long command line,
#  the linker links "*.obj".  Therefore, make in a directory with no
#  extraneous .obj files.  Alternatively, a response file could be used.
#
#  (gunnar.duus@epost.de)

#  Name of C compiler
CC=BCC32
#  Name of directory where WILDARGS.OBJ is located (required to correctly
#  handle wildcards in arguments).  Adapt this to your installation.
CLIB="C:\Program Files\Borland\CBuilder5\Lib"

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

#  No additional options at this time.
OPTIONS=

#  Compiler flags, choose additional options by modifying OPTIONS above.
#  -c: compile only  -O: optimise   -w-: no warnings
#  -v- -l-v: turn off debugging
CFLAGS= -c -O -w- -v- -l-v

#  Object files
OBJS  = fortran.obj advance.obj argcheck.obj calltree.obj comcheck.obj exprtype.obj \
	forlex.obj ftnchek.obj include.obj intake.obj intrins.obj iokeywds.obj \
	keywords.obj labels.obj loccheck.obj makedcls.obj makehtml.obj message.obj \
	options.obj pgsymtab.obj plsymtab.obj prlists.obj prlocsym.obj \
	project.obj symspace.obj symtab.obj symutils.obj utils.obj

#  Command to build ftnchek from object files.
ftnchek.exe: $(OBJS)
        $(CC) -eFTNCHEK.EXE *.obj $(CLIB)\wildargs.obj

# dependencies
advance.obj:	advance.c config.h ftnchek.h symtab.h tokdefs.h forlex.h advance.h

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

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

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

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

forlex.obj:	forlex.c config.h ftnchek.h symtab.h tokdefs.h forlex.h advance.h

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

ftnchek.obj:	ftnchek.c config.h ftnchek.h intrins.h options.h utils.h

include.obj:	include.c config.h ftnchek.h symtab.h forlex.h advance.h

intake.obj:	config.h ftnchek.h symtab.h tokdefs.h forlex.h advance.h

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

iokeywds.obj:	iokeywds.c config.h ftnchek.h symtab.h tokdefs.h iokeywds.h iokeywds_enum.h utils.h

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

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

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

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

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

message.obj:	message.c config.h ftnchek.h

options.obj:	options.c config.h ftnchek.h options.h utils.h

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

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

prlists.obj:	prlists.c config.h ftnchek.h symtab.h symutils.h

prlocsym.obj:	prlocsym.c config.h ftnchek.h loccheck.h plsymtab.h symtab.h

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

symspace.obj:	symspace.c config.h ftnchek.h symtab.h symspace.h symutils.h

symtab.obj:	symtab.c config.h ftnchek.h iokeywds.h intrins.h symtab.h \
		symspace.h symutils.h tokdefs.h

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

utils.obj:	utils.c config.h utils.h

#  Command to clean up after building ftnchek.
clean:
        del ftnchek.tds
        del *.obj