home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 26 / CD_ASCQ_26_1295.iso / vrac / giftool2.zip / SOURCE.ZIP / MAKEFILE < prev    next >
Text File  |  1994-12-09  |  705b  |  29 lines

  1. CFLAGS = -O2
  2.  
  3. LIBS = # -lsent
  4.  
  5. SRCS = main.c readGIF.c writeGIF.c
  6. OBJS = main.o readGIF.o writeGIF.o
  7.  
  8. PROG = giftool
  9.  
  10. $(PROG): $(OBJS)
  11.     $(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(LIBS)
  12.  
  13. clean:
  14.     rm -f $(OBJS) $(PROG) core
  15.  
  16. tar:
  17.     tar cf - README COPYRIGHT $(SRCS) gif.h Makefile | compress > giftool.tar.Z
  18.  
  19. t: $(PROG)
  20.     $(PROG) -i WWYP.gif > xx.gif
  21.     $(PROG) -i mark.gif > yy.gif
  22.     $(PROG) -i hr.gif > zz.gif
  23. #    giftopnm WWYP.gif | ppmtogif | giftool -i > xx.gif
  24. #    giftopnm mark.gif | ppmtogif | giftool -i > yy.gif
  25. #    giftopnm hr.gif | ppmtogif | giftool -i > yy.gif
  26.     cp xx.gif /www/htdoc/yellow/pages/images/foo.gif
  27.     cp yy.gif /www/htdoc/yellow/pages/images/bar.gif
  28.     cp zz.gif /www/htdoc/yellow/pages/images/baz.gif
  29.