--- Makefile 2002-01-01 22:46:46.000000000 +0000 +++ Makefile.new 2002-11-11 01:11:12.000000000 +0000 @@ -21,9 +21,9 @@ man1dir = $(mandir)/man1 CC = gcc -W -Wall -CFLAGS = -O2 -fomit-frame-pointer -LDFLAGS = -s -LIBS = -lpng +CFLAGS += -fomit-frame-pointer `libpng-config --cflags` +LDFLAGS = `libpng-config --ldflags` +LIBS = `libpng-config --libs` INSTALL = install INSTALL_EXEC = $(INSTALL) -c -m 755 INSTALL_DATA = $(INSTALL) -c -m 644