--- lib/pngxtern/scripts/gcc.mak~ 2008-06-18 01:29:00.000000000 +0200 +++ lib/pngxtern/scripts/gcc.mak 2008-07-21 10:54:17.000000000 +0200 @@ -20,7 +20,7 @@ LDRELEASE = -s CFLAGS = -W -Wall $(CRELEASE) LDFLAGS = $(LDRELEASE) -INCS = -I$(ZDIR) -I$(PNGDIR) +INCS = -I/usr/include LIBS = -lpng -lz -lm # File extensions @@ -43,7 +43,7 @@ all: pngxtern$(A) .c$(O): - $(CC) -c $(CFLAGS) $(INCS) $< + $(CC) -c $(CFLAGS) $(LIBS) $(INCS) $< pngxtern$(A): $(OBJS) $(AR_RC) $@ $(OBJS)