home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-12-28 | 1.1 KB | 40 lines |
- CFLAGS=-g
-
- # If this doesn't work, try LIB=-Zg
- LIB=-lgl_s
-
- igif: igif.o decoder.o newsmap.o floydstein.o
- cc $(CFLAGS) -o igif igif.o decoder.o newsmap.o floydstein.o $(LIB)
-
- #igif: igif.u decoder.u newsmap.u floydstein.u
- # cc $(CFLAGS) -o igif igif.u decoder.u newsmap.u floydstein.u $(LIB)
-
- clean:
- rm -f igif a.out core Makefile.old igif2.shar igif2.1.shar igif2.2.shar
- rm -f *.o
-
- shar:
- shar -pX -v README igif.1 Makefile igif.c decoder.c newsmap.c floydstein.c \
- errs.h std.h mem_image.h newsmap.h imgfile.h > igif2.shar
- shar2:
- shar -pX -v README igif.1 Makefile igif.c > igif2.1.shar
- shar -pX -v decoder.c newsmap.c floydstein.c \
- errs.h std.h mem_image.h newsmap.h imgfile.h > igif2.2.shar
-
- # If you put something after here, makedep will destroy it!
- decoder.o: errs.h mem_image.h std.h
- errs.h:
- touch errs.h
- floydstein.o: mem_image.h newsmap.h
- igif.o: errs.h imgfile.h mem_image.h newsmap.h
- imgfile.h:
- touch imgfile.h
- mem_image.h:
- touch mem_image.h
- newsmap.o: newsmap.h
- newsmap.h:
- touch newsmap.h
- std.h:
- touch std.h
- .PRECIOUS: errs.h imgfile.h mem_image.h newsmap.h std.h
-