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/weblet/counter/makefile src/weblet/counter/makefile index 812c59e..6a1174e 100755 --- src/weblet/counter/makefile +++ src/weblet/counter/makefile @@ -1,17 +1,17 @@ include ../../inc/common.mk O = counter.o -L += -lpng -lz +L += -lz counter: $(O) ${CC} ${COPT} ${CFLAGS} $O ../../lib/$(MACHTYPE)/jkweb.a ${L} mv ${AOUT} counter${EXE} chmod a+rx counter${EXE} ${STRIP} counter${EXE} push: mv counter.exe ${CGI_BIN}-${USER} clean:: rm -f ${O} ${AOUT} counter${EXE}