summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5b495b4..8d8474b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
-PROFILE ?= release
+PROFILE ?= Release
BUILD_DIR ?= $(PROFILE)
__build:
mkdir -p $(BUILD_DIR)
- P=`pwd` && cd $(BUILD_DIR) && cmake $$P
+ P=`pwd` && cd $(BUILD_DIR) && cmake -DCMAKE_BUILD_TYPE=$(PROFILE) -DCMAKE_EXPORT_COMPILE_COMMANDS=1 $$P
make -j16 -C $(BUILD_DIR)
.PHONY: __build