From 4c842c873e48bb138f4f8cd422b0f8cc8f64db63 Mon Sep 17 00:00:00 2001 From: Stuart Hayhurst Date: Mon, 2 Sep 2024 18:16:22 +0100 Subject: [PATCH] Rebuild compile_flags.txt when Makefile changes --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 77d4ace..eaa72e0 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,7 @@ $(OBJECT_DIR)/threadDemo.o: ./src/threadDemo.cpp $(AMMONITE_HEADER_SOURCE) @mkdir -p "$(OBJECT_DIR)" $(CXX) ./src/threadDemo.cpp -c $(CXXFLAGS) -o "$@" -$(BUILD_DIR)/compile_flags.txt: $(ALL_OBJECTS_SOURCE) +$(BUILD_DIR)/compile_flags.txt: Makefile @mkdir -p "$(BUILD_DIR)" @rm -fv "$(BUILD_DIR)/compile_flags.txt" @for arg in $(CXXFLAGS); do \