home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 564a.lha / wasp_v1.21 / Src.LZH / Src / Makefile.sas < prev    next >
Makefile  |  1991-07-17  |  1KB  |  53 lines

  1. # makefile for wasp, copyright Steven Reiz 1990, 1991
  2. # see wasp.c for further info
  3. # this makefile is for sas/lattice c 5.10, 8/7/91
  4.  
  5. OS = -DAMIGA
  6. FEATURES = -DDEBUG -DPROFILING
  7. OBJS1 = wasp.o raw.o readiff.o readgif.o operations.o io.o
  8. OBJS2 = wriff.o wriffcount.o wriffdistr.o wriffout.o
  9. OBJS3 = scrsz.o version.o
  10. OBJS  = $(OBJS1) $(OBJS2) $(OBJS3)
  11. PRE1  = wasp.i raw.i readiff.i readgif.i operations.i io.i
  12. PRE2  = wriff.i wriffcount.i wriffdistr.i wriffout.i
  13. PRE3  = scrsz.i
  14. PRE   = $(PRE1) $(PRE2) $(PRE3)
  15. SH1   = wasp.sh raw.sh readiff.sh readgif.sh operations.sh io.sh
  16. SH2   = wriff.sh wriffcount.sh wriffdistr.sh wriffout.sh
  17. SH3   = scrsz.sh
  18. SH    = $(SH1) $(SH2) $(SH3)
  19. PROLOGUE = lib:c.o
  20. LIBS = lib:lcr.lib lib:lcmr.lib lib:lcm.lib lib:lc.lib
  21.  
  22. #.c.o:
  23. #    lc1 -. -b1 -cafrsw -j132i -r1r $(OS) $(FEATURES) -ot:$*.q $*.c
  24. #    go -. t:$*.q
  25. #    lc2 -. -v -m0 -o$*.o t:$*.q
  26.  
  27. .c.o:
  28.     lc1 -. -b1 -cafrsw -d4 -j132i -r1r $(OS) $(FEATURES) -ot:$*.q $*.c
  29.     lc2 -. -v -m0 -o$*.o t:$*.q
  30.  
  31. .c.i:
  32.     lc1 -. -cw -p $(OS) $(FEATURES) -o$*.i $*.c
  33.  
  34. .i.sh:
  35.     mkproto -o $*.sh -s $*.i
  36.  
  37. all: wasp waspnd
  38.  
  39. waspnd: $(OBJS)
  40.     blink SC SD ND TO waspnd FROM $(PROLOGUE) $(OBJS) LIB $(LIBS)
  41.  
  42. wasp: $(OBJS)
  43.     blink TO wasp FROM $(PROLOGUE) $(OBJS) LIB $(LIBS)
  44.  
  45. protos: $(PRE) $(SH) proto.h
  46.  
  47. proto.h: $(PRE)
  48.     mkproto -o proto.h $(PRE)
  49.  
  50. $(OBJS1) $(OBJS2): wasp.h
  51. $(OBJS2): wriff.h
  52. io.o: errors.h
  53.