home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / dirs / climax_429.lzh / CLImax / makefile < prev    next >
Makefile  |  1991-01-10  |  2KB  |  74 lines

  1. # this here is the makefile for CLImax using Aztec C and Aztec assembler.
  2. # also for FixCLI, simple and fancy versions.  I use the PD Make on fish 69.
  3.  
  4. PRECOMP = -hi w:II
  5. IPRECOMP = -hi w:INTU
  6.  
  7. # that's the aztec 5.0 version.  for 3.6 replace "-hi " with "+i".  If you
  8. # don't want to make precompiled header files just use "PRECOMP =" and
  9. # likewise for IPRECOMP.  II can be precompiled from libraries/dosextens.h
  10. # and Paul.h, and INTU is the contents of II plus intuition/intuitionbase.h.
  11. # With 3.6 INTU could contain ONLY intuition and then you could set IPRECOMP
  12. # to be +iII +iINTU, but 5.0 refuses to accept more than one -hi option!
  13.  
  14. SDBCMD = -BS -s0f0n
  15. # for aztec 3.6 use SDBCMD = -N
  16.  
  17. ram\:CLImax : climax.o bud.o
  18.     ln +q -m +a -o ram:CLImax climax.o bud.o -lc
  19.     @dr ram:climax
  20.  
  21. # the +a option for ln is NECESSARY.
  22. # Those without the Dr command can use List.
  23.  
  24. # Here's the version for assembly-level debugging:
  25.  
  26. b : ram:dbax
  27.  
  28. ram\:dbax : climax.o bud.o
  29.     ln -W +q -m +a -o ram:dbax climax.o bud.o -lc
  30.     @dr ram:dbax
  31.  
  32. climax.o : climax.c
  33.     cc $(IPRECOMP) climax
  34.  
  35. bud.o : bud.a
  36.     as -n bud.a
  37.  
  38. # Here's the one for C-level debugging with SDB:
  39.  
  40. d : ram:bugax
  41.  
  42. ram\:bugax : bugax.o bud.o
  43.     ln -G +q -m +a -o ram:bugax bugax.o bud.o -lc
  44.     @dr -l ram:bugax\#?
  45.  
  46. # the +a option for ln is NECESSARY.
  47. # Those without the Dr command can use List.
  48.  
  49. bugax.o : climax.c
  50.     cc $(SDBCMD) $(IPRECOMP) -o bugax.o climax
  51.  
  52.  
  53. # this is a different hack that happened to be in the same directory for
  54. # historical reasons:
  55.  
  56. f : ram:FixCLI
  57. fw : ram:FixCLI-W
  58.  
  59. ram\:FixCLI : t:fixcli.o
  60.     ln +q -m -o ram:FixCLI t:fixcli.o -lc
  61.     @protect ram:fixcli +p
  62.     @dr -l ram:fixcli
  63.  
  64. ram\:FixCLI-W : t:fixcli-w.o
  65.     ln +q -m -o ram:FixCLI-W t:fixcli-w.o -lc
  66.     @protect ram:fixcli-w +p
  67.     @dr -l ram:fixcli-w
  68.  
  69. t\:fixcli.o : fixcli.c
  70.     cc $(PRECOMP) -o t:fixcli.o fixcli.c
  71.  
  72. t\:fixcli-w.o : fixcli.c
  73.     cc $(IPRECOMP) -dWINDOWPTR -o t:fixcli-w.o fixcli.c
  74.