makefile.nt 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  1. # $Id: makefile.nt 314 2002-10-05 17:07:57Z timo $
  2. HOSTFILE=etc/win32.c
  3. TARGET=x86\win32
  4. TEMPDIR=\\temp
  5. A=.lib
  6. O=.obj
  7. E=.exe
  8. CC=cl -nologo
  9. CFLAGS=-DWIN32 -Zi -MLd -Fd$(BUILDDIR)^\
  10. LD=cl -nologo
  11. LDFLAGS=-Zi -MLd -Fd$(BUILDDIR)^\
  12. B=$(BUILDDIR)^\
  13. T=$B$(TARGET)\tst^\
  14. C=$Blcc -Wo-lccdir=$(BUILDDIR) -Wf-target=$(TARGET) -I$B$(TARGET)/include
  15. # $Id: makefile.nt 314 2002-10-05 17:07:57Z timo $
  16. what:
  17. -@echo make all q3rcc lburg q3cpp lcc bprint liblcc triple clean clobber
  18. all:: q3rcc lburg q3cpp lcc bprint liblcc
  19. q3rcc: $Bq3rcc$E
  20. lburg: $Blburg$E
  21. q3cpp: $Bq3cpp$E
  22. lcc: $Blcc$E
  23. bprint: $Bbprint$E
  24. liblcc: $Bliblcc$A
  25. RCCOBJS=$Balloc$O \
  26. $Bbind$O \
  27. $Bdag$O \
  28. $Bdagcheck$O \
  29. $Bdecl$O \
  30. $Benode$O \
  31. $Berror$O \
  32. $Bexpr$O \
  33. $Bevent$O \
  34. $Binit$O \
  35. $Binits$O \
  36. $Binput$O \
  37. $Blex$O \
  38. $Blist$O \
  39. $Bmain$O \
  40. $Boutput$O \
  41. $Bprof$O \
  42. $Bprofio$O \
  43. $Bsimp$O \
  44. $Bstmt$O \
  45. $Bstring$O \
  46. $Bsym$O \
  47. $Btrace$O \
  48. $Btree$O \
  49. $Btypes$O \
  50. $Bnull$O \
  51. $Bsymbolic$O \
  52. $Bgen$O \
  53. $Bbytecode$O \
  54. $Balpha$O \
  55. $Bmips$O \
  56. $Bsparc$O \
  57. $Bstab$O \
  58. $Bx86$O \
  59. $Bx86linux$O
  60. $Bq3rcc$E:: $Bmain$O $Blibrcc$A $(EXTRAOBJS)
  61. $(LD) $(LDFLAGS) -Fe$@ $Bmain$O $(EXTRAOBJS) $Blibrcc$A $(EXTRALIBS)
  62. $Blibrcc$A: $(RCCOBJS)
  63. lib -out:$@ $(RCCOBJS)
  64. $(RCCOBJS): src/c.h src/token.h src/config.h
  65. $Balloc$O: src/alloc.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/alloc.c
  66. $Bbind$O: src/bind.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/bind.c
  67. $Bdag$O: src/dag.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/dag.c
  68. $Bdecl$O: src/decl.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/decl.c
  69. $Benode$O: src/enode.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/enode.c
  70. $Berror$O: src/error.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/error.c
  71. $Bevent$O: src/event.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/event.c
  72. $Bexpr$O: src/expr.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/expr.c
  73. $Bgen$O: src/gen.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/gen.c
  74. $Binit$O: src/init.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/init.c
  75. $Binits$O: src/inits.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/inits.c
  76. $Binput$O: src/input.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/input.c
  77. $Blex$O: src/lex.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/lex.c
  78. $Blist$O: src/list.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/list.c
  79. $Bmain$O: src/main.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/main.c
  80. $Bnull$O: src/null.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/null.c
  81. $Boutput$O: src/output.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/output.c
  82. $Bprof$O: src/prof.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/prof.c
  83. $Bprofio$O: src/profio.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/profio.c
  84. $Bsimp$O: src/simp.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/simp.c
  85. $Bstmt$O: src/stmt.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/stmt.c
  86. $Bstring$O: src/string.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/string.c
  87. $Bsym$O: src/sym.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/sym.c
  88. $Bsymbolic$O: src/symbolic.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/symbolic.c
  89. $Bbytecode$O: src/bytecode.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/bytecode.c
  90. $Btrace$O: src/trace.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/trace.c
  91. $Btree$O: src/tree.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/tree.c
  92. $Btypes$O: src/types.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/types.c
  93. $Bstab$O: src/stab.c src/stab.h; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/stab.c
  94. $Bdagcheck$O: $Bdagcheck.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ $Bdagcheck.c
  95. $Balpha$O: $Balpha.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ $Balpha.c
  96. $Bmips$O: $Bmips.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ $Bmips.c
  97. $Bsparc$O: $Bsparc.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ $Bsparc.c
  98. $Bx86$O: $Bx86.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ $Bx86.c
  99. $Bx86linux$O: $Bx86linux.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ $Bx86linux.c
  100. $Bdagcheck.c: $Blburg$E src/dagcheck.md; $Blburg src/dagcheck.md $@
  101. $Balpha.c: $Blburg$E src/alpha.md; $Blburg src/alpha.md $@
  102. $Bmips.c: $Blburg$E src/mips.md; $Blburg src/mips.md $@
  103. $Bsparc.c: $Blburg$E src/sparc.md; $Blburg src/sparc.md $@
  104. $Bx86.c: $Blburg$E src/x86.md; $Blburg src/x86.md $@
  105. $Bx86linux.c: $Blburg$E src/x86linux.md; $Blburg src/x86linux.md $@
  106. $Brcc.h: src/rcc.asdl; $(ASDL_HOME)/bin/asdlGen --c -d $B src/rcc.asdl
  107. $Brcc$O: $Brcc.h; $(CC) $(CFLAGS) -c -Isrc -I$B -I$(ASDL_HOME)/include/asdlGen -Fo$@ $Brcc.c
  108. $Basdl$O: src/asdl.c $Brcc.h src/c.h; $(CC) $(CFLAGS) -c -Isrc -I$B -I$(ASDL_HOME)/include/asdlGen -Fo$@ src/asdl.c
  109. $Bpass2$O: src/pass2.c $Brcc.h src/c.h; $(CC) $(CFLAGS) -c -Isrc -I$B -I$(ASDL_HOME)/include/asdlGen -Fo$@ src/pass2.c
  110. $B2html$O: src/2html.c $Brcc.h src/c.h; $(CC) $(CFLAGS) -c -Isrc -I$B -I$(ASDL_HOME)/include/asdlGen -Fo$@ src/2html.c
  111. $Bpass2$E: $Bpass2$O $(EXTRAOBJS) $Blibrcc$A; $(LD) $(LDFLAGS) -Fe$@ $Bpass2$O $(EXTRAOBJS) $Blibrcc$A $(EXTRALIBS)
  112. $B2html$E: $B2html$O $Brcc$O; $(LD) $(LDFLAGS) -Fe$@ $B2html$O $Brcc$O $(EXTRALIBS)
  113. $Bbprint$E: $Bbprint$O; $(LD) $(LDFLAGS) -Fe$@ $Bbprint$O
  114. $Bbprint$O: etc/bprint.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ etc/bprint.c
  115. $Blcc$E: $Blcc$O $Bhost$O; $(LD) $(LDFLAGS) -Fe$@ $Blcc$O $Bhost$O
  116. $Blcc$O: etc/lcc.c; $(CC) $(CFLAGS) -c -DTEMPDIR=\"$(TEMPDIR)\" -Fo$@ etc/lcc.c
  117. $Bhost$O: $(HOSTFILE); $(CC) $(CFLAGS) -c -Fo$@ $(HOSTFILE)
  118. LIBOBJS=$Bassert$O $Bbbexit$O $Byynull$O
  119. $Bliblcc$A: $(LIBOBJS); lib -out:$@ $Bassert$O $Bbbexit$O $Byynull$O
  120. $Bassert$O: lib/assert.c; $(CC) -c -Fo$@ lib/assert.c
  121. $Byynull$O: lib/yynull.c; $(CC) -c -Fo$@ lib/yynull.c
  122. $Bbbexit$O: lib/bbexit.c; $(CC) -c -Fo$@ lib/bbexit.c
  123. $Blburg$E: $Blburg$O $Bgram$O; $(LD) $(LDFLAGS) -Fe$@ $Blburg$O $Bgram$O
  124. $Blburg$O $Bgram$O: lburg/lburg.h
  125. $Blburg$O: lburg/lburg.c; $(CC) $(CFLAGS) -c -Ilburg -Fo$@ lburg/lburg.c
  126. $Bgram$O: lburg/gram.c; $(CC) $(CFLAGS) -c -Ilburg -Fo$@ lburg/gram.c
  127. CPPOBJS=$Bcpp$O $Blexer$O $Bnlist$O $Btokens$O $Bmacro$O $Beval$O \
  128. $Binclude$O $Bhideset$O $Bgetopt$O $Bunix$O
  129. $Bq3cpp$E: $(CPPOBJS)
  130. $(LD) $(LDFLAGS) -Fe$@ $(CPPOBJS)
  131. $(CPPOBJS): cpp/cpp.h
  132. $Bcpp$O: cpp/cpp.c; $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/cpp.c
  133. $Blexer$O: cpp/lex.c; $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/lex.c
  134. $Bnlist$O: cpp/nlist.c; $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/nlist.c
  135. $Btokens$O: cpp/tokens.c; $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/tokens.c
  136. $Bmacro$O: cpp/macro.c; $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/macro.c
  137. $Beval$O: cpp/eval.c; $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/eval.c
  138. $Binclude$O: cpp/include.c; $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/include.c
  139. $Bhideset$O: cpp/hideset.c; $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/hideset.c
  140. $Bgetopt$O: cpp/getopt.c; $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/getopt.c
  141. $Bunix$O: cpp/unix.c; $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/unix.c
  142. test: $T8q.s \
  143. $Tarray.s \
  144. $Tcf.s \
  145. $Tcq.s \
  146. $Tcvt.s \
  147. $Tfields.s \
  148. $Tfront.s \
  149. $Tincr.s \
  150. $Tinit.s \
  151. $Tlimits.s \
  152. $Tparanoia.s \
  153. $Tsort.s \
  154. $Tspill.s \
  155. $Tstdarg.s \
  156. $Tstruct.s \
  157. $Tswitch.s \
  158. $Twf1.s \
  159. $Tyacc.s
  160. $T8q.s: tst\8q.c tst\8q.0 all
  161. -$C -S -Wf-errout=$T8q.2 -o $T8q.s tst/8q.c
  162. fc $(TARGET)\tst\8q.sbk $T8q.s
  163. fc $(TARGET)\tst\8q.2bk $T8q.2
  164. $C -o $T8q$E $T8q.s
  165. -$T8q$E <tst/8q.0 >$T8q.1
  166. fc $(TARGET)\tst\8q.1bk $T8q.1
  167. $Tarray.s: tst\array.c tst\array.0 all
  168. -$C -S -Wf-errout=$Tarray.2 -o $Tarray.s tst/array.c
  169. fc $(TARGET)\tst\array.sbk $Tarray.s
  170. fc $(TARGET)\tst\array.2bk $Tarray.2
  171. $C -o $Tarray$E $Tarray.s
  172. -$Tarray$E <tst/array.0 >$Tarray.1
  173. fc $(TARGET)\tst\array.1bk $Tarray.1
  174. $Tcf.s: tst\cf.c tst\cf.0 all
  175. -$C -S -Wf-errout=$Tcf.2 -o $Tcf.s tst/cf.c
  176. fc $(TARGET)\tst\cf.sbk $Tcf.s
  177. fc $(TARGET)\tst\cf.2bk $Tcf.2
  178. $C -o $Tcf$E $Tcf.s
  179. -$Tcf$E <tst/cf.0 >$Tcf.1
  180. fc $(TARGET)\tst\cf.1bk $Tcf.1
  181. $Tcq.s: tst\cq.c tst\cq.0 all
  182. -$C -S -Wf-errout=$Tcq.2 -o $Tcq.s tst/cq.c
  183. fc $(TARGET)\tst\cq.sbk $Tcq.s
  184. fc $(TARGET)\tst\cq.2bk $Tcq.2
  185. $C -o $Tcq$E $Tcq.s
  186. -$Tcq$E <tst/cq.0 >$Tcq.1
  187. fc $(TARGET)\tst\cq.1bk $Tcq.1
  188. $Tcvt.s: tst\cvt.c tst\cvt.0 all
  189. -$C -S -Wf-errout=$Tcvt.2 -o $Tcvt.s tst/cvt.c
  190. fc $(TARGET)\tst\cvt.sbk $Tcvt.s
  191. fc $(TARGET)\tst\cvt.2bk $Tcvt.2
  192. $C -o $Tcvt$E $Tcvt.s
  193. -$Tcvt$E <tst/cvt.0 >$Tcvt.1
  194. fc $(TARGET)\tst\cvt.1bk $Tcvt.1
  195. $Tfields.s: tst\fields.c tst\fields.0 all
  196. -$C -S -Wf-errout=$Tfields.2 -o $Tfields.s tst/fields.c
  197. fc $(TARGET)\tst\fields.sbk $Tfields.s
  198. fc $(TARGET)\tst\fields.2bk $Tfields.2
  199. $C -o $Tfields$E $Tfields.s
  200. -$Tfields$E <tst/fields.0 >$Tfields.1
  201. fc $(TARGET)\tst\fields.1bk $Tfields.1
  202. $Tfront.s: tst\front.c tst\front.0 all
  203. -$C -S -Wf-errout=$Tfront.2 -o $Tfront.s tst/front.c
  204. fc $(TARGET)\tst\front.sbk $Tfront.s
  205. fc $(TARGET)\tst\front.2bk $Tfront.2
  206. $Tincr.s: tst\incr.c tst\incr.0 all
  207. -$C -S -Wf-errout=$Tincr.2 -o $Tincr.s tst/incr.c
  208. fc $(TARGET)\tst\incr.sbk $Tincr.s
  209. fc $(TARGET)\tst\incr.2bk $Tincr.2
  210. $C -o $Tincr$E $Tincr.s
  211. -$Tincr$E <tst/incr.0 >$Tincr.1
  212. fc $(TARGET)\tst\incr.1bk $Tincr.1
  213. $Tinit.s: tst\init.c tst\init.0 all
  214. -$C -S -Wf-errout=$Tinit.2 -o $Tinit.s tst/init.c
  215. fc $(TARGET)\tst\init.sbk $Tinit.s
  216. fc $(TARGET)\tst\init.2bk $Tinit.2
  217. $C -o $Tinit$E $Tinit.s
  218. -$Tinit$E <tst/init.0 >$Tinit.1
  219. fc $(TARGET)\tst\init.1bk $Tinit.1
  220. $Tlimits.s: tst\limits.c tst\limits.0 all
  221. -$C -S -Wf-errout=$Tlimits.2 -o $Tlimits.s tst/limits.c
  222. fc $(TARGET)\tst\limits.sbk $Tlimits.s
  223. fc $(TARGET)\tst\limits.2bk $Tlimits.2
  224. $C -o $Tlimits$E $Tlimits.s
  225. -$Tlimits$E <tst/limits.0 >$Tlimits.1
  226. fc $(TARGET)\tst\limits.1bk $Tlimits.1
  227. $Tparanoia.s: tst\paranoia.c tst\paranoia.0 all
  228. -$C -S -Wf-errout=$Tparanoia.2 -o $Tparanoia.s tst/paranoia.c
  229. fc $(TARGET)\tst\paranoia.sbk $Tparanoia.s
  230. fc $(TARGET)\tst\paranoia.2bk $Tparanoia.2
  231. $C -o $Tparanoia$E $Tparanoia.s
  232. -$Tparanoia$E <tst/paranoia.0 >$Tparanoia.1
  233. fc $(TARGET)\tst\paranoia.1bk $Tparanoia.1
  234. $Tsort.s: tst\sort.c tst\sort.0 all
  235. -$C -S -Wf-errout=$Tsort.2 -o $Tsort.s tst/sort.c
  236. fc $(TARGET)\tst\sort.sbk $Tsort.s
  237. fc $(TARGET)\tst\sort.2bk $Tsort.2
  238. $C -o $Tsort$E $Tsort.s
  239. -$Tsort$E <tst/sort.0 >$Tsort.1
  240. fc $(TARGET)\tst\sort.1bk $Tsort.1
  241. $Tspill.s: tst\spill.c tst\spill.0 all
  242. -$C -S -Wf-errout=$Tspill.2 -o $Tspill.s tst/spill.c
  243. fc $(TARGET)\tst\spill.sbk $Tspill.s
  244. fc $(TARGET)\tst\spill.2bk $Tspill.2
  245. $C -o $Tspill$E $Tspill.s
  246. -$Tspill$E <tst/spill.0 >$Tspill.1
  247. fc $(TARGET)\tst\spill.1bk $Tspill.1
  248. $Tstdarg.s: tst\stdarg.c tst\stdarg.0 all
  249. -$C -S -Wf-errout=$Tstdarg.2 -o $Tstdarg.s tst/stdarg.c
  250. fc $(TARGET)\tst\stdarg.sbk $Tstdarg.s
  251. fc $(TARGET)\tst\stdarg.2bk $Tstdarg.2
  252. $C -o $Tstdarg$E $Tstdarg.s
  253. -$Tstdarg$E <tst/stdarg.0 >$Tstdarg.1
  254. fc $(TARGET)\tst\stdarg.1bk $Tstdarg.1
  255. $Tstruct.s: tst\struct.c tst\struct.0 all
  256. -$C -S -Wf-errout=$Tstruct.2 -o $Tstruct.s tst/struct.c
  257. fc $(TARGET)\tst\struct.sbk $Tstruct.s
  258. fc $(TARGET)\tst\struct.2bk $Tstruct.2
  259. $C -o $Tstruct$E $Tstruct.s
  260. -$Tstruct$E <tst/struct.0 >$Tstruct.1
  261. fc $(TARGET)\tst\struct.1bk $Tstruct.1
  262. $Tswitch.s: tst\switch.c tst\switch.0 all
  263. -$C -S -Wf-errout=$Tswitch.2 -o $Tswitch.s tst/switch.c
  264. fc $(TARGET)\tst\switch.sbk $Tswitch.s
  265. fc $(TARGET)\tst\switch.2bk $Tswitch.2
  266. $C -o $Tswitch$E $Tswitch.s
  267. -$Tswitch$E <tst/switch.0 >$Tswitch.1
  268. fc $(TARGET)\tst\switch.1bk $Tswitch.1
  269. $Twf1.s: tst\wf1.c tst\wf1.0 all
  270. -$C -S -Wf-errout=$Twf1.2 -o $Twf1.s tst/wf1.c
  271. fc $(TARGET)\tst\wf1.sbk $Twf1.s
  272. fc $(TARGET)\tst\wf1.2bk $Twf1.2
  273. $C -o $Twf1$E $Twf1.s
  274. -$Twf1$E <tst/wf1.0 >$Twf1.1
  275. fc $(TARGET)\tst\wf1.1bk $Twf1.1
  276. $Tyacc.s: tst\yacc.c tst\yacc.0 all
  277. -$C -S -Wf-errout=$Tyacc.2 -o $Tyacc.s tst/yacc.c
  278. fc $(TARGET)\tst\yacc.sbk $Tyacc.s
  279. fc $(TARGET)\tst\yacc.2bk $Tyacc.2
  280. $C -o $Tyacc$E $Tyacc.s
  281. -$Tyacc$E <tst/yacc.0 >$Tyacc.1
  282. fc $(TARGET)\tst\yacc.1bk $Tyacc.1
  283. testclean:
  284. -del /q $T8q$E $T8q.s $T8q.2 $T8q.1
  285. -del /q $Tarray$E $Tarray.s $Tarray.2 $Tarray.1
  286. -del /q $Tcf$E $Tcf.s $Tcf.2 $Tcf.1
  287. -del /q $Tcq$E $Tcq.s $Tcq.2 $Tcq.1
  288. -del /q $Tcvt$E $Tcvt.s $Tcvt.2 $Tcvt.1
  289. -del /q $Tfields$E $Tfields.s $Tfields.2 $Tfields.1
  290. -del /q $Tfront$E $Tfront.s $Tfront.2 $Tfront.1
  291. -del /q $Tincr$E $Tincr.s $Tincr.2 $Tincr.1
  292. -del /q $Tinit$E $Tinit.s $Tinit.2 $Tinit.1
  293. -del /q $Tlimits$E $Tlimits.s $Tlimits.2 $Tlimits.1
  294. -del /q $Tparanoia$E $Tparanoia.s $Tparanoia.2 $Tparanoia.1
  295. -del /q $Tsort$E $Tsort.s $Tsort.2 $Tsort.1
  296. -del /q $Tspill$E $Tspill.s $Tspill.2 $Tspill.1
  297. -del /q $Tstdarg$E $Tstdarg.s $Tstdarg.2 $Tstdarg.1
  298. -del /q $Tstruct$E $Tstruct.s $Tstruct.2 $Tstruct.1
  299. -del /q $Tswitch$E $Tswitch.s $Tswitch.2 $Tswitch.1
  300. -del /q $Twf1$E $Twf1.s $Twf1.2 $Twf1.1
  301. -del /q $Tyacc$E $Tyacc.s $Tyacc.2 $Tyacc.1
  302. clean:: testclean
  303. -del /q $B*$O
  304. -del /q $Bdagcheck.c $Balpha.c $Bmips.c $Bx86.c $Bsparc.c $Bx86linux.c $Bgram.c
  305. -del /q $Brcc.c $Brcc.h
  306. -del /q $Bq3rcc1$E $Brcc1$E $B1rcc$E $B2rcc$E
  307. -del /q $B*.ilk
  308. clobber:: clean
  309. -del /q $Bq3rcc$E $B2html$E $Bpass2$E $Blburg$E $Bq3cpp$E $Blcc$E $Bbprint$E $B*$A
  310. -del /q $B*.pdb $B*.pch
  311. RCCSRCS=src/alloc.c \
  312. src/bind.c \
  313. src/dag.c \
  314. src/decl.c \
  315. src/enode.c \
  316. src/error.c \
  317. src/expr.c \
  318. src/event.c \
  319. src/init.c \
  320. src/inits.c \
  321. src/input.c \
  322. src/lex.c \
  323. src/list.c \
  324. src/main.c \
  325. src/output.c \
  326. src/prof.c \
  327. src/profio.c \
  328. src/simp.c \
  329. src/stmt.c \
  330. src/string.c \
  331. src/sym.c \
  332. src/trace.c \
  333. src/tree.c \
  334. src/types.c \
  335. src/null.c \
  336. src/symbolic.c \
  337. src/bytecode.c \
  338. src/gen.c \
  339. src/stab.c \
  340. $Bdagcheck.c \
  341. $Balpha.c \
  342. $Bmips.c \
  343. $Bsparc.c \
  344. $Bx86linux.c \
  345. $Bx86.c
  346. C=$Blcc -A -d0.6 -Wo-lccdir=$(BUILDDIR) -Isrc -I$(BUILDDIR)
  347. triple: $Bq3rcc$E $Blcc$E $Bq3cpp$E
  348. $C -o $B1rcc$E -B$B $(RCCSRCS)
  349. $C -o $B2rcc$E -B$B1 $(RCCSRCS)
  350. fc /b $B1rcc$E $B2rcc$E