From 38ace586681645e227f6ba1daedc569bfe153b68 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Wed, 10 Oct 2018 11:22:38 +1000 Subject: [PATCH] fix build script --- src/GNUmakefile.common | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/GNUmakefile.common b/src/GNUmakefile.common index cf0f92d..1d958f8 100644 --- a/src/GNUmakefile.common +++ b/src/GNUmakefile.common @@ -14,6 +14,8 @@ UUID:= ${DEPSDIR}/libuuid/.libs/libuuid.a all: magicka magimail magiedit ticproc mgpost magichat \ filecenter dosbox_shim magiftpd reset_pass +www: magickawww magimail magiedit ticproc mgpost magichat \ + filecenter dosbox_shim magiftpd reset_pass ${LUA}: cd ${DEPSDIR}/lua && ${MAKE} -f Makefile ${DEPS_LUA_TARGET} MAKEFLAGS= CC=${CC} @@ -59,7 +61,7 @@ endif %.o: %.c ${HDRS} ${CC} -c -o $@ $< ${CFLAGS} -www: ${OBJS} ${WWWOBJS} ${LUA} ${ZMODEM} ${B64} ${JAMLIB} ${JSMN} ${UUID} +magickawww: ${OBJS} ${WWWOBJS} ${LUA} ${ZMODEM} ${B64} ${JAMLIB} ${JSMN} ${UUID} ${CC} -o ../magicka $^ ${LIBS} -lmicrohttpd magicka: ${OBJS} ${LUA} ${ZMODEM} ${JAMLIB} ${JSMN} ${UUID}