aboutsummaryrefslogtreecommitdiff
path: root/Makefile.win
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2022-07-04 18:19:26 -0500
committerAlexander M Pickering <alex@cogarr.net>2022-07-04 18:19:26 -0500
commit9f6b7ecb31179ee980f729578d84d7889f5065b8 (patch)
treeed1cc4b2614f2c134830c7431efae9f6afa34faa /Makefile.win
parentcb39716f1ee896473ed03bcb6dbf927715f74cee (diff)
downloadbrokengine-9f6b7ecb31179ee980f729578d84d7889f5065b8.tar.gz
brokengine-9f6b7ecb31179ee980f729578d84d7889f5065b8.tar.bz2
brokengine-9f6b7ecb31179ee980f729578d84d7889f5065b8.zip
Minor bugfixes, preparing to overhaul
Diffstat (limited to 'Makefile.win')
-rw-r--r--Makefile.win8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.win b/Makefile.win
index 16a081e..2cb4d57 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -43,7 +43,7 @@ CLIENT_LIBS=\
-lm
#-lstdc++-6
-CFLAGS+=-DNNG_STATIC_LIB
+CFLAGS+=-DNNG_STATIC_LIB -g
ifeq ($(DEBUG), true)
else
LDFLAGS += -mwindows
@@ -66,6 +66,9 @@ doc: documentation
documentation:
$(MDOC) -p src -o doc -t "Brok[en]gine" -i README.md -d reference -m "markdown"
+test:
+ busted
+
bin/client/bin/brokengine_client.exe : $(client_objs) $(shared_objs) $(lib_objs)
$(Q)echo "Linking $@"
$(Q)$(LD) $(LDFLAGS) -o $@ $^ $(CLIENT_LIB_DIRS) $(CLIENT_LIBS) # -Wl,--verbose
@@ -89,6 +92,9 @@ $(server_objs) : build/server/%.o : src/server/%.cpp src/server/%.hpp
bin/client/bin/Irrlicht.dll : lib/irrlicht/bin/Win32-gcc/Irrlicht.dll
cp $^ $@
+lib/irrlicht/bin/Win32-gcc/Irrlicht.dll : lib/irrlicht/source/Irrlicht/Makefile
+ cd lib/irrlicht/source/Irrlicht && $(MAKE) win32
+
lib/nng/static/libnng.a:
$(Q)echo "Make $@"
$(Q)mkdir lib/nng/static