aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-09-06 14:43:21 +0000
committer_ov4 <ov4@ov4.org>2026-09-06 14:43:21 +0000
commit857244c8c3a180d15fa1f8fe8b1a475320ef89f1 (patch)
treedf965432dab75829f05ee32fa3acb974e4b650cb
parent1532ecc992ddd72cd370ee8bf32e27119303c2eb (diff)
allow -j
-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