annotate osx_lib.mak @ 184:9f4e5ac4f0a3

One step closer to building on posix. There are two missing symbols so it actually doesn't build but previously it didn't build correctly anyway.
author Jacob Carlborg <doob@me.com>
date Tue, 02 Nov 2010 08:46:11 +0100
parents 190ba98276b3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
183
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
1
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
2 C=backend
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
3 TK=tk
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
4 ROOT=root
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
5
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
6 CC=g++ -m32
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
7 #CC=/usr/bin/i686-unknown-linux-gnu-g++
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
8
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
9 #OPT=-g -g3
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
10 #OPT=-O2
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
11
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
12 #COV=-fprofile-arcs -ftest-coverage
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
13
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
14 GFLAGS = -Wno-deprecated -D__near= -D__pascal= -fno-exceptions -g -DDEBUG=1 $(COV)
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
15 #GFLAGS = -Wno-deprecated -D__near= -D__pascal= -fno-exceptions -O2
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
16
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
17 CFLAGS = $(GFLAGS) -I$(ROOT) -D__I86__=1 -DMARS=1 -DTARGET_OSX=1 -D_DH
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
18 MFLAGS = $(GFLAGS) -I$C -I$(TK) -D__I86__=1 -DMARS=1 -DTARGET_OSX=1 -D_DH
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
19
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
20 CH= $C/cc.h $C/global.h $C/parser.h $C/oper.h $C/code.h $C/type.h \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
21 $C/dt.h $C/cgcv.h $C/el.h $C/iasm.h
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
22 TOTALH=
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
23
184
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
24 BACKEND_OBJS = array.o bcomplex.o blockopt.o code.o cg.o cg87.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
25 cgcod.o cgcs.o cgcv.o cgelem.o cgen.o cgreg.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
26 cgsched.o cod1.o cod2.o cod3.o cod4.o cod5.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
27 dchar.o debug.o dt.o ee.o el.o dwarf.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
28 evalu8.o gdag.o gflow.o glocal.o gloop.o gnuc.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
29 go.o gother.o html.o lstring.o rmem.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
30 nteh.o os.o out.o outbuf.o ptrntab.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
31 root.o rtlsym.o stringtable.o csymbol.o type.o var.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
32 strtold.o toelfdebug.o aa.o ti_achar.o man.o port.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
33 response.o async.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
34 libmach.o machobj.o
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
35
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
36 FRONTEND_OBJS = access.o attrib.o bit.o cast.o class.o constfold.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
37 irstate.o cond.o declaration.o dsymbol.o dump.o e2ir.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
38 eh.o enum.o expression.o func.o glue.o id.o \
183
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
39 identifier.o impcnvtab.o import.o inifile.o init.o inline.o \
184
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
40 lexer.o link.o mangle.o mars.o module.o msc.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
41 mtype.o opover.o optimize.o parse.o ph.o s2ir.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
42 scope.o statement.o struct.o template.o tk.o tocsym.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
43 todt.o typinf.o util.o version.o utf.o staticassert.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
44 unialpha.o toobj.o toctype.o entity.o doc.o macro.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
45 hdrgen.o delegatize.o toir.o interpret.o traits.o builtin.o \
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
46 clone.o aliasthis.o arrayop.o json.o iasm.o cppmangle.o
183
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
47
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
48 SRC = win32.mak linux.mak osx.mak freebsd.mak solaris.mak \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
49 mars.c enum.c struct.c dsymbol.c import.c idgen.c impcnvgen.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
50 identifier.c mtype.c expression.c optimize.c template.h \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
51 template.c lexer.c declaration.c cast.c cond.h cond.c link.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
52 aggregate.h parse.c statement.c constfold.c version.h version.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
53 inifile.c iasm.c module.c scope.c dump.c init.h init.c attrib.h \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
54 attrib.c opover.c class.c mangle.c bit.c tocsym.c func.c inline.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
55 access.c complex_t.h irstate.h irstate.c glue.c msc.c ph.c tk.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
56 s2ir.c todt.c e2ir.c util.c identifier.h parse.h objfile.h \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
57 scope.h enum.h import.h mars.h module.h mtype.h dsymbol.h \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
58 declaration.h lexer.h expression.h irstate.h statement.h eh.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
59 utf.h utf.c staticassert.h staticassert.c unialpha.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
60 typinf.c toobj.c toctype.c tocvdebug.c toelfdebug.c entity.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
61 doc.h doc.c macro.h macro.c hdrgen.h hdrgen.c arraytypes.h \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
62 delegatize.c toir.h toir.c interpret.c traits.c cppmangle.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
63 builtin.c clone.c lib.h libomf.c libelf.c libmach.c arrayop.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
64 aliasthis.h aliasthis.c json.h json.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
65 $C/cdef.h $C/cc.h $C/oper.h $C/ty.h $C/optabgen.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
66 $C/global.h $C/parser.h $C/code.h $C/type.h $C/dt.h $C/cgcv.h \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
67 $C/el.h $C/iasm.h $C/rtlsym.h $C/html.h \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
68 $C/bcomplex.c $C/blockopt.c $C/cg.c $C/cg87.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
69 $C/cgcod.c $C/cgcs.c $C/cgcv.c $C/cgelem.c $C/cgen.c $C/cgobj.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
70 $C/cgreg.c $C/var.c $C/strtold.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
71 $C/cgsched.c $C/cod1.c $C/cod2.c $C/cod3.c $C/cod4.c $C/cod5.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
72 $C/code.c $C/symbol.c $C/debug.c $C/dt.c $C/ee.c $C/el.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
73 $C/evalu8.c $C/go.c $C/gflow.c $C/gdag.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
74 $C/gother.c $C/glocal.c $C/gloop.c $C/html.c $C/newman.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
75 $C/nteh.c $C/os.c $C/out.c $C/outbuf.c $C/ptrntab.c $C/rtlsym.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
76 $C/type.c $C/melf.h $C/mach.h $C/bcomplex.h \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
77 $C/cdeflnx.h $C/outbuf.h $C/token.h $C/tassert.h \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
78 $C/elfobj.c $C/cv4.h $C/dwarf2.h $C/cpp.h $C/exh.h $C/go.h \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
79 $C/dwarf.c $C/dwarf.h $C/aa.h $C/aa.c $C/tinfo.h $C/ti_achar.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
80 $C/machobj.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
81 $(TK)/filespec.h $(TK)/mem.h $(TK)/list.h $(TK)/vec.h \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
82 $(TK)/filespec.c $(TK)/mem.c $(TK)/vec.c $(TK)/list.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
83 $(ROOT)/dchar.h $(ROOT)/dchar.c $(ROOT)/lstring.h \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
84 $(ROOT)/lstring.c $(ROOT)/root.h $(ROOT)/root.c $(ROOT)/array.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
85 $(ROOT)/rmem.h $(ROOT)/rmem.c $(ROOT)/port.h $(ROOT)/port.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
86 $(ROOT)/gnuc.h $(ROOT)/gnuc.c $(ROOT)/man.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
87 $(ROOT)/stringtable.h $(ROOT)/stringtable.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
88 $(ROOT)/response.c $(ROOT)/async.h $(ROOT)/async.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
89
184
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
90 DMD_OBJS = $(FRONTEND_OBJS) $(BACKEND_OBJS)
183
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
91
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
92 all: dmd
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
93
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
94 dmd: id.o optabgen $(DMD_OBJS)
184
9f4e5ac4f0a3 One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents: 183
diff changeset
95 ar rs libdmd.a $(BACKEND_OBJS) msc.o tk.o util.o entity.o ph.o eh.o
183
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
96
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
97 clean:
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
98 rm -f $(DMD_OBJS) dmd optab.o id.o impcnvgen idgen id.c id.h \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
99 impcnvtab.c optabgen debtab.c optab.c cdxxx.c elxxx.c fltables.c \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
100 tytab.c core \
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
101 *.cov *.gcda *.gcno
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
102
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
103 ######## optabgen generates some source
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
104
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
105 optabgen: $C/optabgen.c $C/cc.h $C/oper.h
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
106 $(CC) $(MFLAGS) $< -o optabgen
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
107 ./optabgen
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
108
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
109 debtab.c optab.c cdxxx.c elxxx.c fltables.c tytab.c : optabgen
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
110 ./optabgen
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
111
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
112 ######## idgen generates some source
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
113
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
114 id.h id.c : idgen
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
115 ./idgen
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
116
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
117 idgen : idgen.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
118 $(CC) idgen.c -o idgen
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
119
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
120 id.o : id.h id.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
121 $(CC) -c $(CFLAGS) id.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
122
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
123 ######### impcnvgen generates some source
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
124
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
125 impcnvtab.c : impcnvgen
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
126 ./impcnvgen
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
127
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
128 impcnvgen : mtype.h impcnvgen.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
129 $(CC) $(CFLAGS) impcnvgen.c -o impcnvgen
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
130
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
131 #########
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
132
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
133 aa.o: $C/aa.h $C/tinfo.h $C/aa.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
134 $(CC) -c $(MFLAGS) -I. $C/aa.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
135
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
136 access.o: access.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
137 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
138
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
139 aliasthis.o: aliasthis.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
140 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
141
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
142 array.o: $(ROOT)/array.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
143 $(CC) -c $(GFLAGS) -I$(ROOT) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
144
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
145 arrayop.o: arrayop.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
146 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
147
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
148 async.o: $(ROOT)/async.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
149 $(CC) -c $(GFLAGS) -I$(ROOT) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
150
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
151 attrib.o: attrib.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
152 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
153
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
154 bcomplex.o: $C/bcomplex.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
155 $(CC) -c $(MFLAGS) $C/bcomplex.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
156
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
157 bit.o: expression.h bit.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
158 $(CC) -c -I$(ROOT) $(MFLAGS) bit.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
159
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
160 blockopt.o: $C/blockopt.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
161 $(CC) -c $(MFLAGS) $C/blockopt.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
162
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
163 builtin.o: builtin.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
164 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
165
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
166 cast.o: cast.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
167 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
168
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
169 cg.o: fltables.c $C/cg.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
170 $(CC) -c $(MFLAGS) -I. $C/cg.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
171
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
172 cg87.o: $C/cg87.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
173 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
174
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
175 cgcod.o: $C/cgcod.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
176 $(CC) -c $(MFLAGS) -I. $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
177
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
178 cgcs.o: $C/cgcs.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
179 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
180
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
181 cgcv.o: $C/cgcv.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
182 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
183
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
184 cgelem.o: $C/rtlsym.h $C/cgelem.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
185 $(CC) -c $(MFLAGS) -I. $C/cgelem.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
186
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
187 cgen.o: $C/rtlsym.h $C/cgen.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
188 $(CC) -c $(MFLAGS) $C/cgen.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
189
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
190 cgobj.o: $C/cgobj.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
191 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
192
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
193 cgreg.o: $C/cgreg.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
194 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
195
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
196 cgsched.o: $C/rtlsym.h $C/cgsched.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
197 $(CC) -c $(MFLAGS) $C/cgsched.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
198
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
199 class.o: class.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
200 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
201
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
202 clone.o: clone.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
203 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
204
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
205 cod1.o: $C/rtlsym.h $C/cod1.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
206 $(CC) -c $(MFLAGS) $C/cod1.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
207
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
208 cod2.o: $C/rtlsym.h $C/cod2.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
209 $(CC) -c $(MFLAGS) $C/cod2.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
210
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
211 cod3.o: $C/rtlsym.h $C/cod3.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
212 $(CC) -c $(MFLAGS) $C/cod3.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
213
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
214 cod4.o: $C/cod4.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
215 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
216
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
217 cod5.o: $C/cod5.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
218 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
219
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
220 code.o: $C/code.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
221 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
222
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
223 constfold.o: constfold.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
224 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
225
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
226 irstate.o: irstate.h irstate.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
227 $(CC) -c $(MFLAGS) -I$(ROOT) irstate.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
228
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
229 csymbol.o : $C/symbol.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
230 $(CC) -c $(MFLAGS) $C/symbol.c -o csymbol.o
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
231
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
232 dchar.o: $(ROOT)/dchar.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
233 $(CC) -c $(GFLAGS) -I$(ROOT) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
234
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
235 cond.o: cond.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
236 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
237
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
238 cppmangle.o: cppmangle.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
239 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
240
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
241 debug.o: $C/debug.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
242 $(CC) -c $(MFLAGS) -I. $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
243
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
244 declaration.o: declaration.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
245 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
246
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
247 delegatize.o: delegatize.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
248 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
249
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
250 doc.o: doc.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
251 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
252
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
253 dsymbol.o: dsymbol.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
254 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
255
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
256 dt.o: $C/dt.h $C/dt.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
257 $(CC) -c $(MFLAGS) $C/dt.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
258
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
259 dump.o: dump.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
260 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
261
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
262 dwarf.o: $C/dwarf.h $C/dwarf.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
263 $(CC) -c $(MFLAGS) -I. $C/dwarf.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
264
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
265 e2ir.o: $C/rtlsym.h expression.h toir.h e2ir.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
266 $(CC) -c -I$(ROOT) $(MFLAGS) e2ir.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
267
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
268 ee.o: $C/ee.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
269 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
270
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
271 eh.o : $C/cc.h $C/code.h $C/type.h $C/dt.h eh.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
272 $(CC) -c $(MFLAGS) eh.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
273
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
274 el.o: $C/rtlsym.h $C/el.h $C/el.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
275 $(CC) -c $(MFLAGS) $C/el.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
276
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
277 elfobj.o: $C/elfobj.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
278 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
279
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
280 entity.o: entity.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
281 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
282
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
283 enum.o: enum.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
284 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
285
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
286 evalu8.o: $C/evalu8.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
287 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
288
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
289 expression.o: expression.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
290 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
291
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
292 func.o: func.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
293 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
294
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
295 gdag.o: $C/gdag.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
296 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
297
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
298 gflow.o: $C/gflow.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
299 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
300
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
301 #globals.o: globals.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
302 # $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
303
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
304 glocal.o: $C/rtlsym.h $C/glocal.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
305 $(CC) -c $(MFLAGS) $C/glocal.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
306
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
307 gloop.o: $C/gloop.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
308 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
309
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
310 glue.o: $(CH) $(TOTALH) $C/rtlsym.h mars.h module.h glue.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
311 $(CC) -c $(MFLAGS) -I$(ROOT) glue.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
312
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
313 gnuc.o: $(ROOT)/gnuc.h $(ROOT)/gnuc.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
314 $(CC) -c $(GFLAGS) $(ROOT)/gnuc.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
315
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
316 go.o: $C/go.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
317 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
318
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
319 gother.o: $C/gother.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
320 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
321
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
322 hdrgen.o: hdrgen.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
323 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
324
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
325 html.o: $(CH) $(TOTALH) $C/html.h $C/html.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
326 $(CC) -c -I$(ROOT) $(MFLAGS) $C/html.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
327
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
328 iasm.o : $(CH) $(TOTALH) $C/iasm.h iasm.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
329 $(CC) -c $(MFLAGS) -I$(ROOT) iasm.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
330
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
331 identifier.o: identifier.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
332 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
333
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
334 impcnvtab.o: mtype.h impcnvtab.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
335 $(CC) -c $(CFLAGS) -I$(ROOT) impcnvtab.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
336
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
337 import.o: import.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
338 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
339
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
340 inifile.o: inifile.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
341 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
342
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
343 init.o: init.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
344 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
345
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
346 inline.o: inline.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
347 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
348
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
349 interpret.o: interpret.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
350 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
351
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
352 json.o: json.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
353 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
354
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
355 lexer.o: lexer.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
356 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
357
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
358 libelf.o: libelf.c $C/melf.h
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
359 $(CC) -c $(CFLAGS) -I$C $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
360
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
361 libmach.o: libmach.c $C/mach.h
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
362 $(CC) -c $(CFLAGS) -I$C $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
363
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
364 link.o: link.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
365 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
366
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
367 lstring.o: $(ROOT)/lstring.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
368 $(CC) -c $(GFLAGS) -I$(ROOT) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
369
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
370 machobj.o: $C/machobj.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
371 $(CC) -c $(MFLAGS) -I. $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
372
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
373 macro.o: macro.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
374 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
375
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
376 man.o: $(ROOT)/man.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
377 $(CC) -c $(GFLAGS) -I$(ROOT) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
378
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
379 mangle.o: mangle.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
380 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
381
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
382 mars.o: mars.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
383 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
384
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
385 rmem.o: $(ROOT)/rmem.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
386 $(CC) -c $(GFLAGS) -I$(ROOT) $(ROOT)/rmem.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
387
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
388 module.o: $(TOTALH) $C/html.h module.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
389 $(CC) -c $(CFLAGS) -I$C module.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
390
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
391 msc.o: $(CH) mars.h msc.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
392 $(CC) -c $(MFLAGS) msc.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
393
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
394 mtype.o: mtype.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
395 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
396
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
397 nteh.o: $C/rtlsym.h $C/nteh.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
398 $(CC) -c $(MFLAGS) $C/nteh.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
399
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
400 opover.o: opover.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
401 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
402
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
403 optimize.o: optimize.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
404 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
405
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
406 os.o: $C/os.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
407 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
408
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
409 out.o: $C/out.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
410 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
411
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
412 outbuf.o : $C/outbuf.h $C/outbuf.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
413 $(CC) -c $(MFLAGS) $C/outbuf.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
414
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
415 parse.o: parse.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
416 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
417
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
418 ph.o: ph.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
419 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
420
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
421 port.o: $(ROOT)/port.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
422 $(CC) -c $(GFLAGS) -I$(ROOT) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
423
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
424 ptrntab.o: $C/iasm.h $C/ptrntab.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
425 $(CC) -c $(MFLAGS) $C/ptrntab.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
426
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
427 response.o: $(ROOT)/response.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
428 $(CC) -c $(GFLAGS) -I$(ROOT) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
429
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
430 root.o: $(ROOT)/root.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
431 $(CC) -c $(GFLAGS) -I$(ROOT) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
432
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
433 rtlsym.o: $C/rtlsym.h $C/rtlsym.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
434 $(CC) -c $(MFLAGS) $C/rtlsym.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
435
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
436 s2ir.o : $C/rtlsym.h statement.h s2ir.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
437 $(CC) -c -I$(ROOT) $(MFLAGS) s2ir.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
438
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
439 scope.o: scope.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
440 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
441
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
442 statement.o: statement.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
443 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
444
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
445 staticassert.o: staticassert.h staticassert.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
446 $(CC) -c $(CFLAGS) staticassert.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
447
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
448 stringtable.o: $(ROOT)/stringtable.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
449 $(CC) -c $(GFLAGS) -I$(ROOT) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
450
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
451 strtold.o: $C/strtold.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
452 gcc -m32 -c $C/strtold.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
453
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
454 struct.o: struct.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
455 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
456
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
457 template.o: template.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
458 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
459
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
460 ti_achar.o: $C/tinfo.h $C/ti_achar.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
461 $(CC) -c $(MFLAGS) -I. $C/ti_achar.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
462
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
463 tk.o: tk.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
464 $(CC) -c $(MFLAGS) tk.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
465
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
466 tocsym.o: $(CH) $(TOTALH) mars.h module.h tocsym.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
467 $(CC) -c $(MFLAGS) -I$(ROOT) tocsym.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
468
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
469 toctype.o: $(CH) $(TOTALH) $C/rtlsym.h mars.h module.h toctype.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
470 $(CC) -c $(MFLAGS) -I$(ROOT) toctype.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
471
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
472 todt.o : mtype.h expression.h $C/dt.h todt.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
473 $(CC) -c -I$(ROOT) $(MFLAGS) todt.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
474
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
475 toelfdebug.o: $(CH) $(TOTALH) mars.h toelfdebug.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
476 $(CC) -c $(MFLAGS) -I$(ROOT) toelfdebug.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
477
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
478 toir.o: $C/rtlsym.h expression.h toir.h toir.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
479 $(CC) -c -I$(ROOT) $(MFLAGS) toir.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
480
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
481 toobj.o: $(CH) $(TOTALH) mars.h module.h toobj.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
482 $(CC) -c $(MFLAGS) -I$(ROOT) toobj.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
483
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
484 traits.o: $(TOTALH) traits.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
485 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
486
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
487 type.o: $C/type.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
488 $(CC) -c $(MFLAGS) $C/type.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
489
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
490 typinf.o: $(CH) $(TOTALH) mars.h module.h mtype.h typinf.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
491 $(CC) -c $(MFLAGS) -I$(ROOT) typinf.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
492
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
493 util.o: util.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
494 $(CC) -c $(MFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
495
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
496 utf.o: utf.h utf.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
497 $(CC) -c $(CFLAGS) utf.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
498
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
499 unialpha.o: unialpha.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
500 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
501
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
502 var.o: $C/var.c optab.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
503 $(CC) -c $(MFLAGS) -I. $C/var.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
504
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
505 version.o: version.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
506 $(CC) -c $(CFLAGS) $<
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
507
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
508 ######################################################
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
509
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
510 gcov:
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
511 gcov access.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
512 gcov aliasthis.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
513 gcov arrayop.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
514 gcov attrib.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
515 gcov bit.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
516 gcov builtin.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
517 gcov cast.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
518 gcov class.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
519 gcov clone.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
520 gcov cond.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
521 gcov constfold.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
522 gcov declaration.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
523 gcov delegatize.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
524 gcov doc.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
525 gcov dsymbol.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
526 gcov dump.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
527 gcov e2ir.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
528 gcov eh.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
529 gcov entity.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
530 gcov enum.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
531 gcov expression.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
532 gcov func.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
533 gcov glue.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
534 gcov iasm.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
535 gcov identifier.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
536 gcov imphint.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
537 gcov import.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
538 gcov inifile.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
539 gcov init.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
540 gcov inline.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
541 gcov interpret.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
542 gcov irstate.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
543 gcov json.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
544 gcov lexer.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
545 gcov libmach.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
546 gcov link.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
547 gcov macro.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
548 gcov mangle.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
549 gcov mars.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
550 gcov module.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
551 gcov msc.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
552 gcov mtype.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
553 gcov opover.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
554 gcov optimize.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
555 gcov parse.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
556 gcov ph.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
557 gcov scope.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
558 gcov statement.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
559 gcov staticassert.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
560 gcov s2ir.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
561 gcov struct.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
562 gcov template.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
563 gcov tk.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
564 gcov tocsym.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
565 gcov todt.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
566 gcov toobj.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
567 gcov toctype.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
568 gcov toelfdebug.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
569 gcov typinf.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
570 gcov unialpha.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
571 gcov utf.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
572 gcov util.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
573 gcov version.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
574
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
575 # gcov hdrgen.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
576 # gcov tocvdebug.c
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
577
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
578 ######################################################
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
579
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
580 zip:
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
581 -rm -f dmdsrc.zip
190ba98276b3 Several changes to make it build on posix systems.
Jacob Carlborg <doob@me.com>
parents:
diff changeset
582 zip dmdsrc $(SRC)