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/tracks/makefile src/tracks/makefile index 3cbdc48..01928be 100644 --- src/tracks/makefile +++ src/tracks/makefile @@ -1,43 +1,43 @@ include ../inc/common.mk -L += $(MYSQLLIBS) -lpng -lz +L += $(MYSQLLIBS) -lz MYLIBDIR = ../lib/$(MACHTYPE) MYLIBS = $(MYLIBDIR)/jkweb.a A = tracksWS120.exe O = tracks.o compile: $O ${CC} $O $(MYLIBS) $(L) mv ${AOUT} $A #${STRIP} $A chmod a+rx $A my: compile mv $A ${CGI_BIN}-$(USER)/$A mgsc: compile mv $A ${CGI_BIN}-mgsc/$A alpha: compile mv $A ${CGI_BIN}/$A beta: compile mv $A ${CGI_BIN}-beta/$A install: compile ${MKDIR} ${DESTDIR}${CGI_BIN} mv $A ${DESTDIR}${CGI_BIN}/$A debug: $O ${CC} $O $(MYLIBS) $(L) mv ${AOUT} $A clean: rm -f $O $A tags: ctags *.h *.c ../lib/*.c ../inc/*.h ../../lib/*.c ../../inc/*.h