diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2023-09-17 17:09:39 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2023-09-17 17:09:39 -0500 |
| commit | 0b136091e05fd2e2d8992990ca4209bd3771adf5 (patch) | |
| tree | a08c1f64eaa0777b319ad12cce501e96db2904ff | |
| parent | f5da9002e801281a126e1de4e1844ca0d7ac5c66 (diff) | |
| download | brokengine-0b136091e05fd2e2d8992990ca4209bd3771adf5.tar.gz brokengine-0b136091e05fd2e2d8992990ca4209bd3771adf5.tar.bz2 brokengine-0b136091e05fd2e2d8992990ca4209bd3771adf5.zip | |
Update makefiles
| -rw-r--r-- | Makefile | 1 | ||||
| -rw-r--r-- | Makefile.nix | 4 | ||||
| -rw-r--r-- | Makefile.shared | 6 |
3 files changed, 5 insertions, 6 deletions
@@ -1,4 +1,5 @@ +.DEFAULT_GOAL := all #Detect what kind of system we're on ifeq ($(OS), Windows_NT) UNAME:=Windows diff --git a/Makefile.nix b/Makefile.nix index bd066c2..cc3a35f 100644 --- a/Makefile.nix +++ b/Makefile.nix @@ -1,8 +1,8 @@ +MDOC=mdoc include Makefile.shared -MDOC=mdoc shared_objs=$(SHARED_SRC:src/shared/%=build/shared/%.o) client_objs=$(CLIENT_SRC:src/client/%=build/client/%.o) @@ -39,6 +39,8 @@ CLIENT_LIBS=\ -lLinearMath\ -lnng\ +CFLAGS += -Ilib/luajit/src -Ilib/irrlicht/include -Isrc -Ilib/bulletminus/src -Ilib/tinyobjloader-c -Ilib/nng/include + doc: documentation documentation: diff --git a/Makefile.shared b/Makefile.shared index a2429c5..c66158f 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -74,13 +74,9 @@ else LDFLAGS += # and -static on linux prevents dynamic linking of things like libGL which must be dynamic endif -.PHONY: doc documentation test +.PHONY: doc documentation doc: documentation documentation: $(MDOC) -p src -o doc -t "Brok[en]gine" -i README.md -d reference -m "markdown" - -test: - busted - |
