aboutsummaryrefslogtreecommitdiff
path: root/Makefile.win
diff options
context:
space:
mode:
authorAlexander <alex@cogarr.net>2020-07-05 18:05:14 -0400
committerAlexander <alex@cogarr.net>2020-07-05 18:05:14 -0400
commit4c6fd769d7e287862065d8fdce1b554fac31d99d (patch)
tree1ebef4d6c82f34628535674d09bcda36e6287740 /Makefile.win
parenta5062e3999d60f943c39e4bda6bbc9ae6b0a372d (diff)
downloadbrokengine-4c6fd769d7e287862065d8fdce1b554fac31d99d.tar.gz
brokengine-4c6fd769d7e287862065d8fdce1b554fac31d99d.tar.bz2
brokengine-4c6fd769d7e287862065d8fdce1b554fac31d99d.zip
Added documentation for makefile
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