aboutsummaryrefslogtreecommitdiff
path: root/lazy.mk
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-09-21 15:43:14 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-09-21 15:43:20 +0200
commita12702c912ae0ce96c754ffcb2ab5d901c504b65 (patch)
tree98d921c19ca689a4b82d300de9df79b24552e4c5 /lazy.mk
parent44affb6635359ef2f619562800165ccfff438ae4 (diff)
remove lazy.mk and update readme
Diffstat (limited to 'lazy.mk')
-rw-r--r--lazy.mk33
1 files changed, 0 insertions, 33 deletions
diff --git a/lazy.mk b/lazy.mk
deleted file mode 100644
index a591fd5..0000000
--- a/lazy.mk
+++ /dev/null
@@ -1,33 +0,0 @@
-# NOTE: CMAKE IS THE PRIMARY BUILD SYSTEM FOR THIS PROJECT. THIS FILE IS
-# PROVIDED PURELY FOR CONVENIENCE, AND SHOULD NOT BECOME AN ESSENTIAL PART OF
-# THE BUILD SYSTEM!
-
-BUILD_DIR ?= build
-TARGET ?= $(BUILD_DIR)/main
-
-# always generate fresh build rules when cmake is re-run
-CMFLAGS += --fresh
-# make cmake shut up
-CMFLAGS += --log-level WARNING
-CMFLAGS += -Wno-deprecated
-
-.PHONY: FORCE
-
-all: FORCE $(TARGET)
-
-$(BUILD_DIR)/build.ninja: CMakeLists.txt
- @mkdir -p $(BUILD_DIR)
- @cmake -B $(BUILD_DIR) -G Ninja $(CMFLAGS)
-
-$(TARGET): $(BUILD_DIR)/build.ninja FORCE
- @ninja -C $(BUILD_DIR)
-
-clean: FORCE
- $(RM) -r $(BUILD_DIR)
-
-# Forward any unknown targets to Ninja
-ifneq ($(MAKECMDGOALS),)
-%::
- @ninja -C $(BUILD_DIR) $@
-endif
-