home *** CD-ROM | disk | FTP | other *** search
/ Fatal Distractions! / fataldistractions.bin / chap01 / ccr / makefile < prev    next >
Makefile  |  1993-07-10  |  1KB  |  39 lines

  1. #
  2. # Makefile for Colossal Cave Revisited
  3. # Requires TADS compiler 2.1.0 or greater.
  4. #
  5. # Note that some of the Unix versions of the compilers return error
  6. # codes when everything's actually fine.
  7. #
  8. # You will need to limit the cache size (with the -m option) to get this
  9. # to compile under DOS.
  10. #
  11.  
  12. #
  13. # Set TC and TR to point to your TADS compiler and run-time.
  14. #
  15. TC=        tc
  16. TR=        tr
  17.  
  18. PROGNAME=    ccr
  19. DEBUG=        -ds
  20. SWAPTIONS=
  21. OOPTIONS=    -s -mp32000 # -m150000 [for DOS only]
  22. OPTIONS=    $(OOPTIONS) $(SWAPTIONS) $(DEBUG)
  23.  
  24. # Production version options
  25. POPTIONS=    $(OOPTIONS) $(SWAPTIONS)
  26.  
  27. .PRECIOUS=    $(PROGNAME).gam        # do not delete game file on errors
  28.  
  29. HEADERS= ccr-adv.t ccr-std.t
  30. ROOMS=   ccr-room.t
  31. OBJECTS= ccr-item.t
  32. MISC=    close.t ccr-verb.t format.t help.t ccr-npc.t preparse.t thingext.t
  33.  
  34. $(PROGNAME).gam: makefile $(PROGNAME).t $(HEADERS) $(ROOMS) $(OBJECTS) $(MISC)
  35.     $(TC) $(OPTIONS) $(PROGNAME).t
  36.  
  37. production: makefile $(PROGNAME).t $(HEADERS) $(ROOMS) $(OBJECTS) $(MISC)
  38.     $(TC) $(POPTIONS) $(PROGNAME).t
  39.