From a57acc1176bf89419dbbc8318ac9d036edb87a8b Mon Sep 17 00:00:00 2001 From: Jacob Date: Sat, 28 Dec 2024 12:18:36 -0500 Subject: [PATCH] Fixed stupid stupid GNU Make issue. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1d33953..aee17d6 100644 --- a/Makefile +++ b/Makefile @@ -88,10 +88,11 @@ $(TEST_BUILD_DIR)/test_%.out: $(TEST_OBJ_DIR)/test_%.o $(OBJ_DIR)/%.o $(UNITY_OB # Run the test files. test: $(TEST_BIN_FILES) @ echo -e "$(WHITE_BOLD)Running tests...$(RESETCOLOR)" - for test in $< do ./$${test}; done + for test in $<; do ./$${test}; done clean: @ echo -e "$(WHITE_BOLD)Cleaning up...$(RESETCOLOR)" rm -rf $(OBJ_DIR)/*.o $(TEST_OBJ_DIR)/*.o $(TEST_BUILD_DIR)/test.out $(TARGET) $(GRAM_DIR)/* $(UNITY_OBJ) .PHONY: all clean test nocolor release run +.PRECIOUS: $(TEST_OBJ_FILES)