home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 1 / 1786 / Makefile < prev    next >
Encoding:
Makefile  |  1990-12-28  |  1.1 KB  |  40 lines

  1. CFLAGS=-g
  2.  
  3. # If this doesn't work, try LIB=-Zg
  4. LIB=-lgl_s
  5.  
  6. igif: igif.o decoder.o newsmap.o floydstein.o
  7.     cc $(CFLAGS) -o igif igif.o decoder.o newsmap.o floydstein.o $(LIB)
  8.  
  9. #igif: igif.u decoder.u newsmap.u floydstein.u
  10. #    cc $(CFLAGS) -o igif igif.u decoder.u newsmap.u floydstein.u $(LIB)
  11.     
  12. clean:
  13.     rm -f igif a.out core Makefile.old igif2.shar igif2.1.shar igif2.2.shar
  14.     rm -f *.o
  15.  
  16. shar:
  17.     shar -pX -v README igif.1 Makefile igif.c decoder.c newsmap.c floydstein.c \
  18.         errs.h std.h mem_image.h newsmap.h imgfile.h > igif2.shar
  19. shar2:
  20.     shar -pX -v README igif.1 Makefile igif.c > igif2.1.shar
  21.     shar -pX -v decoder.c newsmap.c floydstein.c \
  22.         errs.h std.h mem_image.h newsmap.h imgfile.h > igif2.2.shar
  23.  
  24. # If you put something after here, makedep will destroy it!
  25. decoder.o: errs.h mem_image.h std.h
  26. errs.h:
  27.     touch errs.h
  28. floydstein.o: mem_image.h newsmap.h
  29. igif.o: errs.h imgfile.h mem_image.h newsmap.h
  30. imgfile.h:
  31.     touch imgfile.h
  32. mem_image.h:
  33.     touch mem_image.h
  34. newsmap.o: newsmap.h
  35. newsmap.h:
  36.     touch newsmap.h
  37. std.h:
  38.     touch std.h
  39. .PRECIOUS:  errs.h imgfile.h mem_image.h newsmap.h std.h
  40.