home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3229 < prev    next >
Encoding:
Internet Message Format  |  1991-04-22  |  5.4 KB

  1. From: shaunc@gold.gvg.tek.com (Shaun Case)
  2. Newsgroups: alt.sources
  3. Subject: Change to Townmaze for Borland C++ 2.0 (2/2)
  4. Message-ID: <2201@gold.gvg.tek.com>
  5. Date: 19 Apr 91 22:41:52 GMT
  6.  
  7. # makefile      Borland C++ 2.0 by Shaun Case derived work from townmake.lmk
  8. #               Kent Paul Dolan retains copyright
  9. #
  10. # townmake.lmk  Copyright 1991 by Kent Paul Dolan,
  11. #                                 Mountain View, CA, USA, 94039-0755
  12. #               May be freely used in any non-commercial venture.
  13. #               Copyrighted only to prevent patenting of the ideas
  14. #               contained herein by others.
  15. #
  16. # BSD 4.3 Unix make file for use with "make -f townmaze.lmk" command
  17. # Amiga Lattice C 5.05 make file for use with "lmk -f townmzae.lmk" command;
  18. # (after minor edits) -- needs townmaze.with for blink command.
  19. #
  20. #------------
  21. # C filenames truncated to 8.3 format when moving to MS-DOS.
  22. # To resolve truncation resulting in identical filenames, I renamed 2
  23. # files:
  24. #
  25. # FROM            TO             ACTUAL
  26. # showlistdet.c   showdetlist.c  SHOWDETL.C
  27. # showlistsum.c   showsumlist.c  SHOWSUML.C
  28. #
  29. # Shaun Case, atman%ecst.csuchico.edu@RELAY.CS.NET
  30. #------------
  31. # C files:
  32. #
  33. # cleanupmap.c
  34. # closedoors.c
  35. # closegates.c
  36. # connectst.c
  37. # filllist.c
  38. # fillmaze.c
  39. # finishalleys.c
  40. # freespace.c
  41. # getargs.c
  42. # interiorcell.c
  43. # makecourts.c
  44. # makegates.c
  45. # makestreet.c
  46. # makespace.c
  47. # makeunused.c
  48. # movefromto.c
  49. # nhbrexists.c
  50. # nhbris.c
  51. # showdbmaze.c
  52. # showlistdet.c
  53. # showlistsum.c
  54. # showmaze.c
  55. # townmain.c
  56. # usage.c
  57. #
  58. # townmaze.h
  59. # townproto.h
  60. #
  61. # pick a compile command
  62. #
  63. # Amiga Lattice C 5.05:
  64. #
  65. #CC =            lc -dRAND48
  66. #
  67. # or BSD 4.3 Unix oldstyle cc:
  68. #
  69. #CC =                    cc -c
  70. # or Borland C++ 2.0
  71. CC = bccx -P-c -c -H
  72. #
  73. # The link command is too complex to just define up here; it will need
  74. # changes in the body of the makefile where "townmaze" is created.
  75. #
  76.  
  77. HEADERS =               townmaze.h \
  78.             townproto.h
  79.  
  80. SOURCES =        cleanupmap.c \
  81.             closedoors.c \
  82.             closegates.c \
  83.             connectst.c \
  84.             filllist.c \
  85.             fillmaze.c \
  86.             finishalleys.c \
  87.             freespace.c \
  88.             getargs.c \
  89.             interiorcell.c \
  90.             makecourts.c \
  91.             makegates.c \
  92.             makestreet.c \
  93.             makespace.c \
  94.                         makeunused.c \
  95.             movefromto.c \
  96.             nhbrexists.c \
  97.             nhbris.c \
  98.             showdbmaze.c \
  99.                         showdetl.c \
  100.                         showsuml.c \
  101.             showmaze.c \
  102.             townmain.c \
  103.                         usage.c
  104.  
  105. OBJECTS =               cleanupmap.obj \
  106.                         closedoors.obj \
  107.                         closegates.obj \
  108.                         connectst.obj \
  109.                         filllist.obj \
  110.                         fillmaze.obj \
  111.                         finishalleys.obj \
  112.                         freespace.obj \
  113.                         getargs.obj \
  114.                         interiorcell.obj \
  115.                         makegates.obj \
  116.                         makecourts.obj \
  117.                         makespace.obj \
  118.                         makestreet.obj \
  119.                         makeunused.obj \
  120.                         movefromto.obj \
  121.                         nhbrexists.obj \
  122.                         nhbris.obj \
  123.                         showdbmaze.obj \
  124.                         showdetl.obj \
  125.                         showsuml.obj \
  126.                         showmaze.obj \
  127.                         townmain.obj \
  128.                         usage.obj
  129.  
  130. #
  131. # Pick a link command
  132. #
  133. # Amiga Lattice C 5.05:
  134. #
  135.  
  136. #townmaze:        $(OBJECTS)
  137. #            blink with townmaze.with
  138.  
  139. #
  140. # or BSD 4.3 Unix old style cc:
  141. #
  142. #
  143. #townmaze:               $(OBJECTS)
  144. #                        cc -o townmaze ${OBJECTS}
  145.  
  146. #
  147. # or Borland C++ 2.0
  148.  
  149. townmaze:               $(OBJECTS)
  150.        tlink /c @&&!
  151. c0s $(OBJECTS)
  152. $*
  153. $*
  154. emu.lib maths.lib cs.lib
  155. !
  156.  
  157. #
  158. #
  159.  
  160. cleanupmap.obj:           $(HEADERS) cleanupmap.c
  161.             $(CC) cleanupmap.c
  162.  
  163. closedoors.obj:           $(HEADERS) closedoors.c
  164.             $(CC) closedoors.c
  165.  
  166. closegates.obj:           $(HEADERS) closegates.c
  167.             $(CC) closegates.c
  168.  
  169. connectst.obj:            $(HEADERS) connectst.c
  170.             $(CC) connectst.c
  171.  
  172. filllist.obj:             $(HEADERS) filllist.c
  173.             $(CC) filllist.c
  174.  
  175. fillmaze.obj:             $(HEADERS) fillmaze.c
  176.             $(CC) fillmaze.c
  177.  
  178. finishalleys.obj:         $(HEADERS) finishalleys.c
  179.             $(CC) finishalleys.c
  180.  
  181. freespace.obj:            $(HEADERS) freespace.c
  182.             $(CC) freespace.c
  183.  
  184. getargs.obj:              $(HEADERS) getargs.c
  185.             $(CC) getargs.c
  186.  
  187. interiorcell.obj:         $(HEADERS) interiorcell.c
  188.             $(CC) interiorcell.c
  189.  
  190. makecourts.obj:           $(HEADERS) makecourts.c
  191.             $(CC) makecourts.c
  192.  
  193. makegates.obj:            $(HEADERS) makegates.c
  194.             $(CC) makegates.c
  195.  
  196. makespace.obj:            $(HEADERS) makespace.c
  197.             $(CC) makespace.c
  198.  
  199. makestreet.obj:           $(HEADERS) makestreet.c
  200.             $(CC) makestreet.c
  201.  
  202. makeunused.obj:           $(HEADERS) makeunused.c
  203.             $(CC) makeunused.c
  204.  
  205. movefromto.obj:           $(HEADERS) movefromto.c
  206.             $(CC) movefromto.c
  207.  
  208. nhbrexists.obj:           $(HEADERS) nhbrexists.c
  209.             $(CC) nhbrexists.c
  210.  
  211. nhbris.obj:               $(HEADERS) nhbris.c
  212.             $(CC) nhbris.c
  213.  
  214. showdbmaze.obj:           $(HEADERS) showdbmaze.c
  215.             $(CC) showdbmaze.c
  216.  
  217. showdetl.obj:          $(HEADERS) showdetl.c
  218.                         $(CC) showdetl.c
  219.  
  220. showsuml.obj:          $(HEADERS) showsuml.c
  221.                         $(CC) showsuml.c
  222.  
  223. showmaze.obj:             $(HEADERS) showmaze.c
  224.             $(CC) showmaze.c
  225.  
  226. townmain.obj:             $(HEADERS) townmain.c
  227.             $(CC) townmain.c
  228.  
  229. usage.obj:                $(HEADERS) usage.c
  230.             $(CC) usage.c
  231.