From 8a04ae56d52d3fc937fdafd41d9c967693d52de9 Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Fri, 15 Mar 2019 10:36:16 +0100 Subject: [PATCH] chore(library/Makefile.in): update stage1/CMakeLists.txt only when out of date not sure this really improves anything --- library/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/Makefile.in b/library/Makefile.in index e80e413833..cfe9cf4c29 100644 --- a/library/Makefile.in +++ b/library/Makefile.in @@ -34,9 +34,11 @@ $(STAGE1_DIR)/%.cpp: %.lean %.olean @mkdir -p $(@D) $(LEAN) $(OPTS) --cpp=$@ $< -export-stage1: $(CPPS) +$(STAGE1_DIR)/CMakeLists.txt: $(CPPS) echo "add_library (cpp_stage1 OBJECT $(CPPS_CORE))" > $(STAGE1_DIR)/CMakeLists.txt +export-stage1: $(STAGE1_DIR)/CMakeLists.txt + update-stage0: rm -r $(STAGE0_DIR)/init cp -R $(STAGE1_DIR)/init $(STAGE0_DIR)/init