aboutsummaryrefslogtreecommitdiff
path: root/Makefile.shared
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2023-04-27 18:48:59 -0500
committerAlexander M Pickering <alex@cogarr.net>2023-04-27 18:48:59 -0500
commit2c9065dfbd9a6c655bbc5bf9b6dc332bcb10a7bf (patch)
tree42b963369dfe647687c5833cb0bfea45f9c61acd /Makefile.shared
parent9c32850847c46ceab228ae88ccc69e23ae3ff4c7 (diff)
downloadbrokengine-2c9065dfbd9a6c655bbc5bf9b6dc332bcb10a7bf.tar.gz
brokengine-2c9065dfbd9a6c655bbc5bf9b6dc332bcb10a7bf.tar.bz2
brokengine-2c9065dfbd9a6c655bbc5bf9b6dc332bcb10a7bf.zip
Have documentation and tests be shared
Diffstat (limited to 'Makefile.shared')
-rw-r--r--Makefile.shared11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.shared b/Makefile.shared
index f98ead9..a2429c5 100644
--- a/Makefile.shared
+++ b/Makefile.shared
@@ -73,3 +73,14 @@ else
CFLAGS += -O3 -fpermissive
LDFLAGS += # and -static on linux prevents dynamic linking of things like libGL which must be dynamic
endif
+
+.PHONY: doc documentation test
+
+doc: documentation
+
+documentation:
+ $(MDOC) -p src -o doc -t "Brok[en]gine" -i README.md -d reference -m "markdown"
+
+test:
+ busted
+