Makefile.gcc 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592
  1. ###########################################################################
  2. # #
  3. # makefile for REDUCE 3.7 using CSL #
  4. # #
  5. ###########################################################################
  6. # The following lines indicates the place on your disc where the "cslbase"
  7. # directory exists. This is the place where the C sources files for CSL
  8. # live. There are two versions here, the first should use Unix-like
  9. # file name conventions (in particular "/" as a directory separator) while
  10. # the second will (in some cases) be a host-specific translation.
  11. UCSLBASE = ../cslbase
  12. CSLBASE = ../cslbase
  13. ###########################################################################
  14. # Generic Unix with GCC. Note that if you use this you should review
  15. # the file "machine.h" to ensure that CSL knows what name to report for
  16. # your system. Also if the system you are running on needs more libraries
  17. # scanned in the link-phase.
  18. CC = gcc
  19. OPTFLAGS = -O3
  20. MPIFLAGS =
  21. CFLAGS = -c $(OPTFLAGS) -ansi -I$(CSLBASE) $(MPIFLAGS)
  22. LIBS = -lm -lc -lcurses
  23. ###########################################################################
  24. ###########################################################################
  25. SHELL = /bin/sh
  26. LINK = $(CC)
  27. LFLAGS =
  28. OUT = -o
  29. OUTOBJ = -o
  30. ASM = $(CC)
  31. ASMFLAGS = $(CFLAGS)
  32. ASMSRC =
  33. ASMOBJ =
  34. ASMOBJDEP = notused.obj
  35. SYS = sysunix
  36. STORE = -k8000
  37. XSTORE = -k8000
  38. RM = rm
  39. MKDIR = mkdir
  40. COPY = cp
  41. STRIP = strip
  42. WX =
  43. ###########################################################################
  44. ###########################################################################
  45. ###########################################################################
  46. # #
  47. # This is the main bulk of the "makefile" for building Reduce 3.7 and CSL #
  48. # on MSDOS, Windows and Unix. This part of the file expects a number of #
  49. # symbols to have been defined: #
  50. # #
  51. # CSLBASE = file-path for CSLBASE directory #
  52. # CC = The C compiler to use #
  53. # CFLAGS = Flags for C compiler when compiling CSL #
  54. # LINK = Linker to use #
  55. # LFLAGS = Flags for linker #
  56. # LIBS = Libraries to quote to linker #
  57. # OUT = "-o" or "-out:" See link commands #
  58. # OUTOBJ = "-o" often : where to put object code from C compilation #
  59. # ASM = The assembler to use #
  60. # ASMFLAGS = Flags for the assembler #
  61. # ASMSRC = Assembly code source file to use #
  62. # ASMOBJ = Object file for above (or NULL if no assembly used) #
  63. # ASMOBJDEP = Ditto, but may not be NULL #
  64. # SYS = name of system-specific file (sysdos or sysnt etc) #
  65. # STORE = Memory option to pass to CSL (-k2500 is minimum) #
  66. # XSTORE = Memory for the rebuild job that generates C code #
  67. # RM = del for DOS, = rm for Unix #
  68. # MKDIR = mkdir #
  69. # COPY = copy for DOS, = cp for Unix #
  70. # STRIP = echo for DOS, = strip for Unix #
  71. # SYMBOLIC = .SYMBOLIC is using Watcom's "make" utility #
  72. # WX = wx for Windows 3.1, null in all other cases #
  73. # #
  74. # The master version of this file is called "makebase" and is used to #
  75. # create both DOS and Unix makefiles. Use the Codemist "makemake" #
  76. # program to perform the conversion - eg #
  77. # makemake -f makebase -o makemake.386 watcom dos #
  78. # makemake -f makebase -o Makefile.sgi sgi #
  79. # Just "makemake -f makebase" gives list of systems supported #
  80. ###########################################################################
  81. ###########################################################################
  82. ###########################################################################
  83. ###########################################################################
  84. #
  85. # The main final target is r37.img, the image file for full REDUCE.
  86. # If you want to rebuild stage-by-stage (eg while testing), try the
  87. # sequence
  88. # make slowr37 compiles and links C coded kernel
  89. # make slowr37.img makes bootstrap REDUCE
  90. # (roughly twice as slow as final one)
  91. # only used for system recompilation.
  92. # make profile runs tests, collects profile information.
  93. # This takes a long time!
  94. # make prof-inst installs profile data
  95. # make c-code Create files u*.c and u*.lsp
  96. # out of hot-spot parts of REDUCE.
  97. ###########################################################################
  98. # Note that only the steps from here downwards are usually needed
  99. #
  100. # make r37 final compilation of most of REDUCE
  101. # make r37.img build final image file
  102. # make testall runs test files, output to log directory
  103. # make checkall creates log/checkall.log
  104. #
  105. # (for Windows 95/98/NT only)
  106. # make r37c.exe command-line version
  107. #
  108. ###########################################################################
  109. ###########################################################################
  110. #
  111. # C is another name for CSLBASE, the directory that CSL source files live
  112. # in. I introduce it here mainly because $(C) is so much more compact
  113. # then $(CSLBASE).
  114. #
  115. C = $(CSLBASE)
  116. #
  117. # DOBJS is a list of all the object files that are common to all variants
  118. # on the system built here
  119. #
  120. DOBJS = arith01.o arith02.o arith03.o arith04.o \
  121. arith05.o arith06.o arith07.o arith08.o \
  122. arith09.o arith10.o arith11.o arith12.o \
  123. char.o csl.o cslmpi.o eval1.o eval2.o \
  124. eval3.o eval4.o fns1.o fns2.o fns3.o \
  125. print.o read.o restart.o $(ASMOBJ) \
  126. $(SYS).o
  127. CDOBJS = arith01.o,arith02.o,arith03.o,arith04.o,\
  128. arith05.o,arith06.o,arith07.o,arith08.o,\
  129. arith09.o,arith10.o,arith11.o,arith12.o,\
  130. char.o,csl.o,cslmpi.o,eval1.o,eval2.o,\
  131. eval3.o,eval4.o,fns1.o,fns2.o,fns3.o,\
  132. print.o,read.o,restart.o,$(ASMOBJ),\
  133. $(SYS).o
  134. #
  135. # OBJS adds in the files used when I am not building a demonstration-mode CSL
  136. #
  137. OBJS = $(DOBJS) fasl.o gc.o preserve.o
  138. COBJS = $(CDOBJS),fasl.o,gc.o,preserve.o
  139. #
  140. # UOBJS come from that code that is compiled from Lisp into C
  141. #
  142. UOBJS = u01.o u02.o u03.o u04.o u05.o \
  143. u06.o u07.o u08.o u09.o u10.o \
  144. u11.o u12.o
  145. CUOBJS = u01.o,u02.o,u03.o,u04.o,u05.o,\
  146. u06.o,u07.o,u08.o,u09.o,u10.o,\
  147. u11.o,u12.o
  148. ###########################################################################
  149. ###########################################################################
  150. # This default target may be a dangerous one to use
  151. # since it supposes that all the C code is up to date already.
  152. default: $(SYMBOLIC) \
  153. r37 r37.img
  154. ###########################################################################
  155. ###########################################################################
  156. r37.img: r37
  157. ../util/full37
  158. r37: bytes.o $(OBJS) \
  159. $(UOBJS)
  160. $(LINK) $(LFLAGS) bytes.o $(OBJS) $(UOBJS) $(LIBS) $(OUT) r37 $(TAIL)
  161. $(STRIP) r37
  162. -$(MKDIR) log
  163. #
  164. # A few targets here may help me tidy up my filespace from time to time
  165. #
  166. clean: $(SYMBOLIC)
  167. -$(RM) slowr37
  168. -$(RM) slowr37.img
  169. -$(RM) r37
  170. -$(RM) r37.img
  171. -$(RM) csl
  172. -$(RM) csl.img
  173. -$(RM) *.o
  174. -$(MKDIR) log
  175. -$(RM) log/*.log
  176. ###########################################################################
  177. csl: bytes.o $(OBJS) \
  178. stubs.o
  179. $(LINK) $(LFLAGS) bytes.o $(OBJS) stubs.o $(LIBS) $(OUT) csl $(TAIL)
  180. $(STRIP) csl
  181. slowr37: bytes1.o $(OBJS) \
  182. stubs.o
  183. $(LINK) $(LFLAGS) bytes1.o $(OBJS) stubs.o $(LIBS) $(OUT) slowr37 $(TAIL)
  184. $(STRIP) slowr37
  185. -$(MKDIR) log
  186. slowr37.img: slowr37
  187. ../util/boot37
  188. profile: slowr37.img $(SYMBOLIC)
  189. ../util/profile
  190. prof-inst: profile.dat $(SYMBOLIC)
  191. $(COPY) profile.dat ../csl-c
  192. -$(RM) profile.dat
  193. c-code: slowr37.img $(SYMBOLIC)
  194. ../util/c-code37
  195. testslow: slowr37.img $(SYMBOLIC)
  196. ../util/testslow
  197. testall: r37.img $(SYMBOLIC)
  198. ../util/testrest
  199. checkall: r37.img $(SYMBOLIC)
  200. ../util/checkall
  201. patchup: r37.img $(SYMBOLIC)
  202. ../util/patchup
  203. cleanlog: $(SYMBOLIC)
  204. -$(RM) ../../../log/*.rlg
  205. csl.img: csl $(C)/compat.lsp $(C)/compiler.lsp \
  206. $(C)/ccomp.lsp $(C)/extras.lsp
  207. -$(RM) csl.img
  208. $(WX) ./csl $(STORE) -v -z $(C)/build0.lsp \
  209. -D@cslbase="$(C)" -- log/cslimg.log
  210. #
  211. # "make lispfile"
  212. # recreates compiler.lsp, extras.lsp and ccomp.lsp from
  213. # the corresponding master sources which are held in RLISP
  214. # form. Temporarily builds an RLISP parser on the way.
  215. # NB: only for system maintainance use.
  216. lispfile: csl csl.img $(C)/lispfile.lsp $(SYMBOLIC)
  217. $(WX) ./csl $(STORE) -v -z $(C)/lispfile.lsp \
  218. -D@cslbase="$(C)" -- log/lispfile.log
  219. signature: $(C)/version.hhh register.key $(SYMBOLIC)
  220. filesign -u $(C)/version.hhh $(C)/version.h Developer or tester
  221. ############################################################################
  222. # Now rules for re-compiling the main collection of CSL source files. I
  223. # write each case out individually since that makes the makefile less
  224. # delicate than one that relies on setting up general rules - and I want this
  225. # file to work on several different systems.
  226. #
  227. $(ASMOBJDEP): $(C)/$(ASMSRC)
  228. $(ASM) $(ASMFLAGS) -o $(ASMOBJ).o $(C)/$(ASMSRC)
  229. arith01.o: $(C)/arith01.c $(C)/arith.h $(C)/tags.h $(C)/machine.h \
  230. $(C)/externs.h $(C)/sys.h $(C)/cslerror.h
  231. $(CC) $(CFLAGS) \
  232. -o arith01.o \
  233. $(C)/arith01.c
  234. arith02.o: $(C)/arith02.c $(C)/arith.h $(C)/tags.h $(C)/machine.h \
  235. $(C)/externs.h $(C)/sys.h $(C)/cslerror.h
  236. $(CC) $(CFLAGS) \
  237. -o arith02.o \
  238. $(C)/arith02.c
  239. arith03.o: $(C)/arith03.c $(C)/arith.h $(C)/tags.h $(C)/machine.h \
  240. $(C)/externs.h $(C)/sys.h $(C)/cslerror.h
  241. $(CC) $(CFLAGS) \
  242. -o arith03.o \
  243. $(C)/arith03.c
  244. arith04.o: $(C)/arith04.c $(C)/arith.h $(C)/tags.h $(C)/machine.h \
  245. $(C)/externs.h $(C)/sys.h $(C)/cslerror.h
  246. $(CC) $(CFLAGS) \
  247. -o arith04.o \
  248. $(C)/arith04.c
  249. arith05.o: $(C)/arith05.c $(C)/arith.h $(C)/tags.h $(C)/machine.h \
  250. $(C)/externs.h $(C)/sys.h $(C)/cslerror.h $(C)/stream.h
  251. $(CC) $(CFLAGS) \
  252. -o arith05.o \
  253. $(C)/arith05.c
  254. arith06.o: $(C)/arith06.c $(C)/arith.h $(C)/tags.h $(C)/machine.h \
  255. $(C)/externs.h $(C)/sys.h $(C)/cslerror.h $(C)/entries.h
  256. $(CC) $(CFLAGS) \
  257. -o arith06.o \
  258. $(C)/arith06.c
  259. arith07.o: $(C)/arith07.c $(C)/arith.h $(C)/tags.h $(C)/machine.h \
  260. $(C)/externs.h $(C)/sys.h $(C)/cslerror.h
  261. $(CC) $(CFLAGS) \
  262. -o arith07.o \
  263. $(C)/arith07.c
  264. arith08.o: $(C)/arith08.c $(C)/arith.h $(C)/tags.h $(C)/machine.h \
  265. $(C)/externs.h $(C)/sys.h $(C)/cslerror.h $(C)/entries.h
  266. $(CC) $(CFLAGS) \
  267. -o arith08.o \
  268. $(C)/arith08.c
  269. arith09.o: $(C)/arith09.c $(C)/arith.h $(C)/tags.h $(C)/machine.h \
  270. $(C)/externs.h $(C)/sys.h $(C)/cslerror.h
  271. $(CC) $(CFLAGS) \
  272. -o arith09.o \
  273. $(C)/arith09.c
  274. arith10.o: $(C)/arith10.c $(C)/arith.h $(C)/tags.h $(C)/machine.h \
  275. $(C)/externs.h $(C)/sys.h $(C)/cslerror.h $(C)/entries.h
  276. $(CC) $(CFLAGS) \
  277. -o arith10.o \
  278. $(C)/arith10.c
  279. arith11.o: $(C)/arith11.c $(C)/arith.h $(C)/tags.h $(C)/machine.h \
  280. $(C)/externs.h $(C)/sys.h $(C)/cslerror.h
  281. $(CC) $(CFLAGS) \
  282. -o arith11.o \
  283. $(C)/arith11.c
  284. arith12.o: $(C)/arith12.c $(C)/arith.h $(C)/tags.h $(C)/machine.h \
  285. $(C)/externs.h $(C)/sys.h $(C)/cslerror.h $(C)/entries.h
  286. $(CC) $(CFLAGS) \
  287. -o arith12.o \
  288. $(C)/arith12.c
  289. bytes.o: $(C)/bytes1.c $(C)/bytes.c $(C)/tags.h $(C)/machine.h \
  290. $(C)/externs.h $(C)/sys.h $(C)/cslerror.h \
  291. $(C)/bytes.h $(C)/arith.h
  292. $(CC) $(CFLAGS) \
  293. -o bytes.o \
  294. $(C)/bytes.c
  295. bytes1.o: $(C)/bytes1.c $(C)/bytes.c $(C)/tags.h $(C)/machine.h \
  296. $(C)/externs.h $(C)/sys.h $(C)/cslerror.h \
  297. $(C)/bytes.h $(C)/arith.h
  298. $(CC) $(CFLAGS) \
  299. -o bytes1.o \
  300. $(C)/bytes1.c
  301. #
  302. # The target "bytes1a.o" recompiles bytes1.c, but with the flag set that
  303. # arranges that the number of GET operations performed and the associated
  304. # indicators will be recorded, so that (bytecounts) will display statistics
  305. # about it. This slows things down considerably, but can help when you are in
  306. # the process of deciding which indicators are specified as "fast" ones.
  307. #
  308. bytes1a.o: $(C)/bytes1.c $(C)/bytes.c $(C)/tags.h $(C)/machine.h \
  309. $(C)/externs.h $(C)/sys.h $(C)/cslerror.h \
  310. $(C)/bytes.h $(C)/arith.h
  311. $(CC) $(CFLAGS) -DRECORD_GET=1 \
  312. -o bytes1.o \
  313. $(C)/bytes1.c
  314. char.o: $(C)/char.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  315. $(C)/sys.h $(C)/cslerror.h $(C)/entries.h
  316. $(CC) $(CFLAGS) \
  317. -o char.o \
  318. $(C)/char.c
  319. csl.o: $(C)/csl.c $(C)/tags.h $(C)/machine.h $(C)/externs.h $(C)/version.h \
  320. $(C)/sys.h $(C)/cslerror.h $(C)/entries.h $(C)/stream.h $(C)/sockhdr.h
  321. $(CC) $(CFLAGS) \
  322. -o csl.o \
  323. $(C)/csl.c
  324. eval1.o: $(C)/eval1.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  325. $(C)/sys.h $(C)/cslerror.h $(C)/arith.h $(C)/entries.h
  326. $(CC) $(CFLAGS) \
  327. -o eval1.o \
  328. $(C)/eval1.c
  329. eval2.o: $(C)/eval2.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  330. $(C)/sys.h $(C)/cslerror.h $(C)/arith.h $(C)/entries.h
  331. $(CC) $(CFLAGS) \
  332. -o eval2.o \
  333. $(C)/eval2.c
  334. eval3.o: $(C)/eval3.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  335. $(C)/sys.h $(C)/cslerror.h $(C)/entries.h
  336. $(CC) $(CFLAGS) \
  337. -o eval3.o \
  338. $(C)/eval3.c
  339. eval4.o: $(C)/eval4.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  340. $(C)/sys.h $(C)/cslerror.h $(C)/arith.h
  341. $(CC) $(CFLAGS) \
  342. -o eval4.o \
  343. $(C)/eval4.c
  344. fasl.o: $(C)/fasl.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  345. $(C)/sys.h $(C)/cslerror.h $(C)/arith.h
  346. $(CC) $(CFLAGS) \
  347. -o fasl.o \
  348. $(C)/fasl.c
  349. fns1.o: $(C)/fns1.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  350. $(C)/sys.h $(C)/cslerror.h $(C)/entries.h
  351. $(CC) $(CFLAGS) \
  352. -o fns1.o \
  353. $(C)/fns1.c
  354. fns2.o: $(C)/fns2.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  355. $(C)/sys.h $(C)/cslerror.h $(C)/read.h $(C)/entries.h \
  356. $(C)/sockhdr.h
  357. $(CC) $(CFLAGS) \
  358. -o fns2.o \
  359. $(C)/fns2.c
  360. fns3.o: $(C)/fns3.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  361. $(C)/sys.h $(C)/cslerror.h $(C)/read.h $(C)/entries.h
  362. $(CC) $(CFLAGS) \
  363. -o fns3.o \
  364. $(C)/fns3.c
  365. gc.o: $(C)/gc.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  366. $(C)/sys.h $(C)/cslerror.h
  367. $(CC) $(CFLAGS) \
  368. -o gc.o \
  369. $(C)/gc.c
  370. #
  371. # For each major target I have one file that is system specific - eg
  372. # sysdos.c, sysunix.c, ...
  373. #
  374. $(SYS).o: $(C)/$(SYS).c $(C)/machine.h $(C)/externs.h \
  375. $(C)/sys.h $(C)/fileops.c $(C)/scandir.c $(C)/version.h \
  376. $(C)/filename.c
  377. $(CC) $(CFLAGS) \
  378. -o $(SYS).o \
  379. $(C)/$(SYS).c
  380. preserve.o: $(C)/preserve.c $(C)/tags.h $(C)/machine.h $(C)/stream.h \
  381. $(C)/externs.h $(C)/sys.h $(C)/cslerror.h $(C)/read.h $(C)/version.h
  382. $(CC) $(CFLAGS) \
  383. -o preserve.o \
  384. $(C)/preserve.c
  385. print.o: $(C)/print.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  386. $(C)/sys.h $(C)/cslerror.h $(C)/read.h \
  387. $(C)/arith.h $(C)/entries.h $(C)/stream.h $(C)/sockhdr.h
  388. $(CC) $(CFLAGS) \
  389. -o print.o \
  390. $(C)/print.c
  391. read.o: $(C)/read.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  392. $(C)/sys.h $(C)/cslerror.h $(C)/read.h \
  393. $(C)/arith.h $(C)/entries.h $(C)/stream.h $(C)/sockhdr.h
  394. $(CC) $(CFLAGS) \
  395. -o read.o \
  396. $(C)/read.c
  397. restart.o: $(C)/restart.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  398. $(C)/sys.h $(C)/cslerror.h $(C)/read.h $(C)/version.h \
  399. $(C)/arith.h $(C)/entries.h $(C)/stream.h
  400. $(CC) $(CFLAGS) \
  401. -o restart.o \
  402. $(C)/restart.c
  403. stubs.o: $(C)/stubs.c $(C)/machine.h $(C)/externs.h $(C)/sys.h \
  404. $(C)/tags.h $(C)/cslerror.h
  405. $(CC) $(CFLAGS) \
  406. -o stubs.o \
  407. $(C)/stubs.c
  408. cslmpi.o: $(C)/cslmpi.c $(C)/machine.h $(C)/externs.h $(C)/sys.h \
  409. $(C)/mpipack.c $(C)/tags.h $(C)/cslerror.h
  410. $(CC) $(CFLAGS) \
  411. -o cslmpi.o \
  412. $(C)/cslmpi.c
  413. ###########################################################################
  414. u01.o: ../csl-c/u01.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  415. $(C)/cslerror.h $(C)/entries.h
  416. $(CC) $(CFLAGS) \
  417. -o u01.o \
  418. ../csl-c/u01.c
  419. u02.o: ../csl-c/u02.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  420. $(C)/cslerror.h $(C)/entries.h
  421. $(CC) $(CFLAGS) \
  422. -o u02.o \
  423. ../csl-c/u02.c
  424. u03.o: ../csl-c/u03.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  425. $(C)/cslerror.h $(C)/entries.h
  426. $(CC) $(CFLAGS) \
  427. -o u03.o \
  428. ../csl-c/u03.c
  429. u04.o: ../csl-c/u04.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  430. $(C)/cslerror.h $(C)/entries.h
  431. $(CC) $(CFLAGS) \
  432. -o u04.o \
  433. ../csl-c/u04.c
  434. u05.o: ../csl-c/u05.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  435. $(C)/cslerror.h $(C)/entries.h
  436. $(CC) $(CFLAGS) \
  437. -o u05.o \
  438. ../csl-c/u05.c
  439. u06.o: ../csl-c/u06.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  440. $(C)/cslerror.h $(C)/entries.h
  441. $(CC) $(CFLAGS) \
  442. -o u06.o \
  443. ../csl-c/u06.c
  444. u07.o: ../csl-c/u07.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  445. $(C)/cslerror.h $(C)/entries.h
  446. $(CC) $(CFLAGS) \
  447. -o u07.o \
  448. ../csl-c/u07.c
  449. u08.o: ../csl-c/u08.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  450. $(C)/cslerror.h $(C)/entries.h
  451. $(CC) $(CFLAGS) \
  452. -o u08.o \
  453. ../csl-c/u08.c
  454. u09.o: ../csl-c/u09.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  455. $(C)/cslerror.h $(C)/entries.h
  456. $(CC) $(CFLAGS) \
  457. -o u09.o \
  458. ../csl-c/u09.c
  459. u10.o: ../csl-c/u10.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  460. $(C)/cslerror.h $(C)/entries.h
  461. $(CC) $(CFLAGS) \
  462. -o u10.o \
  463. ../csl-c/u10.c
  464. u11.o: ../csl-c/u11.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  465. $(C)/cslerror.h $(C)/entries.h
  466. $(CC) $(CFLAGS) \
  467. -o u11.o \
  468. ../csl-c/u11.c
  469. u12.o: ../csl-c/u12.c $(C)/tags.h $(C)/machine.h $(C)/externs.h \
  470. $(C)/cslerror.h $(C)/entries.h
  471. $(CC) $(CFLAGS) \
  472. -o u12.o \
  473. ../csl-c/u12.c
  474. # end of makefile