home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d8xx / d834 / pinfocom.lha / PInfoCom / pinfocom-3.0.lha / SMakefile < prev    next >
Makefile  |  1993-02-21  |  3KB  |  88 lines

  1. #
  2. #    Makefile for the SAS/C v6.2 `C' compiler
  3. #
  4.  
  5. #    To set the default number of context lines to something other than 2,
  6. #    change the value of this line.
  7.  
  8. CONTEXT        = 2
  9.  
  10. #    To set the default right margin to something other than 0, change
  11. #    the value of this line.
  12.  
  13. RMARGIN        = 0
  14.  
  15. #    To set the default left margin to something other than 0, change
  16. #    the value of this line (note that game prompts are not indented, only
  17. #    game output text).
  18.  
  19. LMARGIN        = 0
  20.  
  21. #    To set the default number of input lines to be stored in the history
  22. #    buffer to something other than 20, change the value of this line.
  23.  
  24. HISTORY_LINES    = 20
  25.  
  26. #    There should be no need to change the following line.
  27.  
  28. DEFINES        = DEFINE=CONTEXT=$(CONTEXT) DEFINE=LMARGIN=$(LMARGIN) DEFINE=RMARGIN=$(RMARGIN) \
  29.           DEFINE=HISTORY_LINES=$(HISTORY_LINES) \
  30.           DEFINE=FNAME_LST="Story" DEFINE=FEXT_LST=".Dat",".Data" \
  31.           DEFINE=SAVE_EXT=".Save" DEFINE=SCRIPT_FILE="PRT:" \
  32.           DEFINE=NOSIGNALS DEFINE=ESC_CHAR="@"
  33.  
  34. #    Comment this line if you do not want the compiler to run the
  35. #    optimizer phase.
  36.  
  37. OPTIMIZE    = OPTIMIZE OPTINLOCAL OPTTIME
  38.  
  39. #    Compiler and linker flags, there should be no need to change these lines.
  40.  
  41. CFLAGS        = STREQ STRMERGE NOSTKCHK $(OPTIMIZE) $(DEFINES) IGNORE=161
  42. LFLAGS        = SMALLCODE SMALLDATA NODEBUG
  43.  
  44. #    Terminal interface modules.
  45.  
  46. TERM        = amiga.o amiga_clip.o amiga_console.o amiga_data.o amiga_game.o \
  47.           amiga_script.o amiga_sound.o
  48.  
  49. #    Interpreter and terminal interface modules.
  50.  
  51. OBJS        = file.o funcs.o infocom.o init.o input.o interp.o jump.o \
  52.           object.o options.o page.o print.o property.o support.o \
  53.           variable.o getopt.o $(TERM)
  54.  
  55. #    The runtime libraries to link with, there should be no need to change this line.
  56.  
  57. LIBS        = LIB:sc.lib LIB:amiga.lib
  58.  
  59. #    This is where the interpreter is built.
  60.  
  61. pinfo:        $(OBJS)
  62.         SLINK FROM LIB:c.o $(OBJS) TO $@ LIBRARY $(LIBS) $(LFLAGS)
  63.  
  64. #    File dependencies.
  65.  
  66. file.o:        file.c infocom.h 
  67. funcs.o:    funcs.c infocom.h 
  68. infocom.o:    infocom.c infocom.h patchlevel.h 
  69. init.o:        init.c infocom.h 
  70. input.o:    input.c infocom.h 
  71. interp.o:    interp.c infocom.h 
  72. jump.o:        jump.c infocom.h 
  73. object.o:    object.c infocom.h 
  74. options.o:    options.c infocom.h 
  75. page.o:        page.c infocom.h 
  76. print.o:    print.c infocom.h 
  77. property.o:    property.c infocom.h 
  78. support.o:    support.c infocom.h patchlevel.h 
  79. variable.o:    variable.c infocom.h 
  80.  
  81. amiga.o:    amiga.c amiga_global.h patchlevel.h infocom.h amiga_data.h amiga_protos.h 
  82. amiga_data.o:    amiga_data.c amiga_global.h patchlevel.h infocom.h amiga_data.h amiga_protos.h
  83. amiga_sound.o:    amiga_sound.c amiga_global.h patchlevel.h infocom.h amiga_data.h amiga_protos.h
  84. amiga_console.o:    amiga_console.c amiga_global.h patchlevel.h infocom.h amiga_data.h amiga_protos.h
  85. amiga_clip.o:    amiga_clip.c amiga_global.h patchlevel.h infocom.h amiga_data.h amiga_protos.h
  86. amiga_script.o:    amiga_script.c amiga_global.h patchlevel.h infocom.h amiga_data.h amiga_protos.h
  87. amiga_game.o:    amiga_game.c amiga_global.h patchlevel.h infocom.h amiga_data.h amiga_protos.h
  88.