-
Notifications
You must be signed in to change notification settings - Fork 0
/
mk_mpw.mak
130 lines (117 loc) · 1.99 KB
/
mk_mpw.mak
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# $Id: mk_mpw.mak 264 2003-02-13 02:59:30Z darren $
#
# Makefile for Macintosh using MPW
#
# Created by: Maarten L. Hekkelman <[email protected]>
HEADERS = ¶
args.h ctags.h debug.h entry.h general.h get.h keyword.h ¶
main.h options.h parse.h parsers.h read.h routines.h sort.h ¶
strlist.h vstring.h mac.h
SOURCES = ¶
args.c ¶
asm.c ¶
asp.c ¶
awk.c ¶
beta.c ¶
c.c ¶
cobol.c ¶
eiffel.c ¶
entry.c ¶
erlang.c ¶
fortran.c ¶
get.c ¶
keyword.c ¶
lisp.c ¶
lregex.c ¶
lua.c ¶
main.c ¶
make.c ¶
options.c ¶
parse.c ¶
pascal.c ¶
perl.c ¶
php.c ¶
python.c ¶
read.c ¶
rexx.c ¶ ¶
routines.c ¶
ruby.c ¶
scheme.c ¶
sh.c ¶
slang.c ¶
sort.c ¶
sml.c ¶
sql.c ¶
strlist.c ¶
tcl.c ¶
verilog.c ¶
vim.c ¶
vstring.c ¶
yacc.c ¶
mac.c
OBJ = ¶
args.o ¶
asm.o ¶
asp.o ¶
awk.o ¶
beta.o ¶
c.o ¶
cobol.o ¶
eiffel.o ¶
entry.o ¶
erlang.o ¶
fortran.o ¶
get.o ¶
keyword.o ¶
lisp.o ¶
lregex.o ¶
lua.o ¶
main.o ¶
make.o ¶
options.o ¶
parse.o ¶
pascal.o ¶
perl.o ¶
php.o ¶
python.o ¶
read.o ¶
rexx.o ¶
routines.o ¶
ruby.o ¶
scheme.o ¶
sh.o ¶
slang.o ¶
sort.o ¶
sml.o ¶
sql.o ¶
strlist.o ¶
tcl.o ¶
verilog.o ¶
vim.o ¶
vstring.o ¶
yacc.o ¶
mac.o
LIBS = ¶
{PPCLibraries}PPCToolLibs.o ¶
{SharedLibraries}MathLib ¶
{SharedLibraries}InterfaceLib ¶
{SharedLibraries}StdCLib ¶
{MWPPCLibraries}'MSL StdCRuntime.Lib'
CC = mwcppc
LD = mwlinkppc
# Using -nodefaults to avoid having {MWCIncludes} in our include paths
# Needed since we're building a MPW Tool and not an application.
COptions = -nodefaults -i : -i- -i {CIncludes} -opt full
LOptions = -xm m -stacksize 128
all Ä CTags
CTags Ä TurnOfEcho {OBJ}
{LD} {LOptions} -o CTags {OBJ} {LIBS}
{OBJ} Ä {HEADERS}
tags Ä CTags
:CTags -p. {SOURCES} {HEADERS}
clean Ä
Delete -y -i {OBJ} {CTags} tags
.o Ä .c
{CC} {depDir}{default}.c -o {targDir}{default}.o {COptions}
TurnOfEcho Ä
set echo 0