summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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