summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-09-15 15:11:13 -0400
committerpommicket <pommicket@gmail.com>2025-09-15 15:11:59 -0400
commitdc989291eb6b9b20a25a78f35d6f04968a88ed0b (patch)
treeca494122e2169cbfdb776bfbeadc4b791af03ab9 /Makefile
parent627278a0cb84bca7751e97f13d9c235abac678f0 (diff)
Switch to cmake
meson builds "thin" archives by default (this is basically undocumented). You can avoid this by setting install: true supposedly. Whatever I hate it anyways.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 34e5195..5b495b4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,8 @@
PROFILE ?= release
BUILD_DIR ?= $(PROFILE)
__build:
- @[ -d $(BUILD_DIR) ] || meson setup --buildtype $(PROFILE) $(BUILD_DIR)
- ninja -C $(BUILD_DIR)
+ mkdir -p $(BUILD_DIR)
+ P=`pwd` && cd $(BUILD_DIR) && cmake $$P
+ make -j16 -C $(BUILD_DIR)
.PHONY: __build