home *** CD-ROM | disk | FTP | other *** search
/ The Amiga Game Guide / AmigaGameGuide_CD.iso / PC / Tools / chunker / source / smakefile < prev    next >
Makefile  |  1977-12-31  |  1KB  |  48 lines

  1. #
  2. # SAS/C Makefile for chunker
  3. #
  4. #
  5.  
  6. LINKER = SC LINK
  7. LINKOPS = NOCHECKABORT
  8.  
  9. all: /dechunk /chunker /dechunk13 /chunker13
  10.  
  11. chunker.o: chunker.c chunker.h machine.h
  12.  
  13. dechunk.o: dechunk.c dechunk.h machine.h
  14.  
  15. bfn.o: bfn.c bfn.h machine.h
  16.  
  17. machine.o: machine.c machine.h
  18.  
  19.  
  20. chunker13.o: chunker.c chunker.h machine.h
  21.     SC chunker.c objectname chunker13.o define AMIGA_1_3=1 NOLINK
  22.  
  23. dechunk13.o: dechunk.c dechunk.h machine.h
  24.     SC dechunk.c objectname dechunk13.o define AMIGA_1_3=1 NOLINK
  25.  
  26. bfn13.o: bfn.c bfn.h machine.h
  27.     SC bfn.c objectname bfn13.o define AMIGA_1_3=1 NOLINK
  28.  
  29. machine13.o: machine.c machine.h
  30.     SC machine.c objectname machine13.o define AMIGA_1_3=1 NOLINK
  31.  
  32. /chunker: chunker.o bfn.o machine.o
  33.     $(LINKER) $(LINKOPS) chunker.o bfn.o machine.o TO $@
  34.     protect /chunker p add
  35.  
  36. /dechunk: dechunk.o bfn.o machine.o
  37.     $(LINKER) $(LINKOPS) dechunk.o bfn.o machine.o TO $@
  38.     protect /dechunk p add
  39.  
  40. /chunker13: chunker13.o bfn13.o machine13.o
  41.     $(LINKER) $(LINKOPS) chunker13.o bfn13.o machine13.o TO $@
  42.  
  43. /dechunk13: dechunk13.o bfn13.o machine13.o
  44.     $(LINKER) $(LINKOPS) dechunk13.o bfn13.o machine13.o TO $@
  45.  
  46. clean:
  47.     -delete \#?.o /\#?.lnk
  48.