7a0cb78e88327e6ea0d70e38d3a5c5dc394cc28c
angie
  Mon Nov 1 09:14:31 2010 -0700
Removing hardcoded -lpg from L because it breaks the build on systemsthat don't have libpng.  inc/common.mk does some wildcard matching to
find the appropriate lib for png if it exists.

diff --git src/ameme/makefile src/ameme/makefile
index a69436e..5aea728 100644
--- src/ameme/makefile
+++ src/ameme/makefile
@@ -1,18 +1,18 @@
 include ../inc/common.mk
 
-L += -lpng -lm -lz
+L += -lm -lz
 MYLIBDIR = ../lib/${MACHTYPE}
 MYLIBS =  $(MYLIBDIR)/jkweb.a
 
 O = ameme.o fragFind.o
 ifdef GS_PATH
 CFLAGS = -DGS_PATH='${GS_PATH}'
 endif
 # set location of gs on webserver with: make GS_PATH='"/full_path"' cgi
 
 alpha: $(O)
 	${CC} ${COPT} ${CFLAGS} $O ${MYLIBS} ${L}
 	${STRIP} ${AOUT}${EXE}
 	mv ${AOUT} ${BINDIR}/ameme
 
 cgi: $(O)