aboutsummaryrefslogtreecommitdiff
path: root/Makefile.win
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.win')
-rw-r--r--Makefile.win5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.win b/Makefile.win
index bedd50e..c3f259e 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -7,6 +7,7 @@ MKDIR?=mkdir
RM?=rm -f
ECHO?=echo
LD=g++
+MDOC=mdoc.bat
shared_objs=$(SHARED_SRC:src/shared/%=build/shared/%.o)
client_objs=$(CLIENT_SRC:src/client/%=build/client/%.o)
@@ -52,9 +53,13 @@ clean:
$(RM) $(server_objs)
$(RM) $(shared_objs)
$(RM) $(bins)
+ $(RM) -r doc/*
nuke: clean
+documentation:
+ $(MDOC) -p src -o doc -t "Brok[en]gine" -i README.md -d reference -m "hoedown --disable-intra-emphasis"
+
bin/client/bin/brokengine_client.exe : $(client_objs) $(shared_objs)
$(Q)echo "Linking $@"
$(Q)$(LD) $(LDFLAGS) -o $@ $^ $(CLIENT_LIB_DIRS) $(CLIENT_LIBS) # -Wl,--verbose