home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d114 / wblander.lha / WBLander / Source / Makefile < prev    next >
Makefile  |  1987-11-22  |  1KB  |  51 lines

  1. # makefile for karl's audio stuff
  2. #
  3. # note that an "assign lib:" to the directory containing the libs must be
  4. # done prior to running this.  That way, the libraries can be in ramdisk
  5. # or some drive other than df0:
  6. #
  7.     CFLAGS = +L -S +iincludes.pre
  8.     SOUNDOBJS = sounds:eagle1.o sounds:eagle2.o sounds:saucer.o sounds:crash.o sounds:xthrust.o sounds:ythrust.o
  9.  
  10. .c.o:
  11.     -delete $*.o
  12.     cc +P -S -B -DAMIGA $*.c
  13.  
  14. target: Lander
  15.  
  16. all:    conv8svx sounds.o player.o test.o test rocket
  17.  
  18. conv8svx:    conv8svx.o 8svx_to_c.o
  19.     ln -o conv8svx  conv8svx.o  8svx_to_c.o  -lcl32
  20.  
  21. sounds.o:    sounds.c sample.h sounds.h
  22.  
  23. player.o:    player.c sample.h sounds.h
  24.  
  25. test.o:        test.c sample.h sounds.h
  26.  
  27. test:    test.o player.o sounds.o
  28.     ln -o test test.o player.o sounds.o -lcl32 +C $(SOUNDOBJS)
  29.  
  30. foo.o: foo.c sample.h sounds.h
  31.  
  32. foo:    foo.o player.o sounds.o
  33.     ln -o foo foo.o player.o sounds.o +C $(SOUNDOBJS) -lcl32 
  34.     fixhunk foo
  35.  
  36. includes.o:    includes.c
  37.     cc +hincludes.pre includes.c
  38.  
  39. Lander   : rocket.o rocketaudio.o player.o sounds.o cleanup.o timer.o show.o jiff.o
  40.         -delete ram:c/#?
  41.         ln  -o ram:rocket rocket.o rocketaudio.o player.o sounds.o cleanup.o timer.o show.o jiff.o -lcl32 +C $(SOUNDOBJS)
  42.         copy ram:rocket Lander
  43.         delete ram:rocket
  44.         copy c:copy ram:c
  45.         ram:c/copy c:delete ram:c/del
  46.         ram:c/copy c:cd ram:c
  47.         ram:c/copy c:rename ram:c/ren
  48.         ram:c/copy c:list ram:c/ls
  49.  
  50. rocket.o : rocket.c
  51.