diff -c -r gd/Makefile /home/world/src/gd/Makefile *** gd/Makefile Mon Feb 9 22:03:17 1998 --- /home/world/src/gd/Makefile Sat Feb 7 19:42:42 1998 *************** *** 7,19 **** #If the ar command fails on your system, consult the ar manpage #for your system. ! CC=gcc AR=ar ! CFLAGS=-O LIBS=-L./ -lgd -lm all: libgd.a gddemo giftogd webgif gddemo: gddemo.o libgd.a gd.h gdfonts.h gdfontl.h $(CC) gddemo.o -o gddemo $(LIBS) --- 7,31 ---- #If the ar command fails on your system, consult the ar manpage #for your system. ! # CC=gcc AR=ar ! # CFLAGS= ! # OFLAG=-O LIBS=-L./ -lgd -lm + PREFIX=/usr/local + + #MG# + mg: libgd.a + rm -f *.o gddemo giftogd webgif + #MG# all: libgd.a gddemo giftogd webgif + install: libgd.a + cp libgd.a $(PREFIX)/lib/libgd.a + cp gd.h $(PREFIX)/include/gd.h + chmod 644 $(PREFIX)/lib/libgd.a $(PREFIX)/include/gd.h + gddemo: gddemo.o libgd.a gd.h gdfonts.h gdfontl.h $(CC) gddemo.o -o gddemo $(LIBS) *************** *** 30,34 **** $(CC) webgif.o -o webgif $(LIBS) clean: ! rm -f *.o *.a gddemo giftogd --- 42,51 ---- $(CC) webgif.o -o webgif $(LIBS) clean: ! rm -f *.o *.a gddemo giftogd webgif ! ! SHELL=/bin/sh ! .SUFFIXES: .c .o + .c.o: + $(CC) $(CFLAGS) $< -c diff -c -r gd/gd.c /home/world/src/gd/gd.c *** gd/gd.c Mon Feb 9 22:03:17 1998 --- /home/world/src/gd/gd.c Sun Jan 11 20:20:53 1998 *************** *** 1,8 **** - #include #include - #include #include #include #include "gd.h" #include "mtables.c" --- 1,7 ---- #include #include #include + #include #include "gd.h" #include "mtables.c"