diff options
| -rw-r--r-- | Makefile.shared | 11 | ||||
| -rw-r--r-- | Makefile.win | 10 |
2 files changed, 13 insertions, 8 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 + diff --git a/Makefile.win b/Makefile.win index b278424..d6e2c34 100644 --- a/Makefile.win +++ b/Makefile.win @@ -1,6 +1,3 @@ - -include Makefile.shared - CP=cp CXX?=g++ MKDIR?=mkdir @@ -9,6 +6,8 @@ ECHO?=echo LD=g++ MDOC=mdoc +include Makefile.shared + shared_objs=$(SHARED_SRC:src/shared/%=build/shared/%.o) client_objs=$(CLIENT_SRC:src/client/%=build/client/%.o) server_objs=$(SERVER_SRC:src/server/%=build/server/%.o) @@ -64,11 +63,6 @@ clean: nuke: clean -doc: documentation - -documentation: - $(MDOC) -p src -o doc -t "Brok[en]gine" -i README.md -d reference -m "markdown" - test: busted |
