aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 81edbdd..1858e41 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,9 @@ BUILD_ROOT := build
DEPS_DIR := third_party
MAGIC_ENUM_DIR := $(DEPS_DIR)/magic_enum
-MAKEFLAGS += -j8
+ifeq ($(MAKELEVEL),0)
+ MAKEFLAGS += -j8
+endif
# make # release:-O3 + LTO
# make DEBUG=1 # debug: -Og -g3 and no LTO