9bfcf5e486d3ff0032e427a6ccf478fb776f5e0f hiram Mon Jun 14 11:42:27 2010 -0700 fixing makefiles to have clean targets diff --git src/ameme/makefile src/ameme/makefile index bc659ab..b2e4634 100644 --- src/ameme/makefile +++ src/ameme/makefile @@ -1,19 +1,21 @@ include ../inc/common.mk 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 ../lib/$(MACHTYPE)/jkweb.a -lm ${STRIP} ${AOUT}${EXE} mv ${AOUT} ${BINDIR}/ameme cgi: $(O) ${CC} ${COPT} ${CFLAGS} $O ../lib/$(MACHTYPE)/jkweb.a -lm mv ${AOUT} ameme.exe chmod 755 ameme.exe mv ameme.exe $(HOME)/.html/cgi-bin +clean:: + rm -f ${O} ${AOUT} ameme.exe