2432aa4360b032b1708d20e17c4c3be3e397f020 hiram Sat Sep 11 14:14:14 2010 -0700 fixup build on cygwin diff --git src/ameme/makefile src/ameme/makefile index 5706128..5aea728 100644 --- src/ameme/makefile +++ src/ameme/makefile @@ -1,26 +1,26 @@ include ../inc/common.mk -L += -lm +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) ${CC} ${COPT} ${CFLAGS} $O ${MYLIBS} ${L} mv ${AOUT} ameme.exe chmod 755 ameme.exe mv ameme.exe $(HOME)/.html/cgi-bin clean:: rm -f ${O} ${AOUT} ameme.exe