From 037a5fd170045b81339ea7def584c3de7bc16233 Mon Sep 17 00:00:00 2001 From: "Mihail (Mike)" Date: Mon, 9 Sep 2024 12:50:57 +0100 Subject: [PATCH] Update Makefile Added a header comment to the Makefile with bad practices to signpost its purpose explicitly. --- EX1_incorrect_patterns/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/EX1_incorrect_patterns/Makefile b/EX1_incorrect_patterns/Makefile index fef61c0..0d551fd 100755 --- a/EX1_incorrect_patterns/Makefile +++ b/EX1_incorrect_patterns/Makefile @@ -1,3 +1,10 @@ +###################################################################################################################################################################################### +# # +# Do NOT use this file as a starting point. This is an example of a how NOT to write makefiles # +# # +###################################################################################################################################################################################### + + INPUT_FILE_LIST:=$(shell ls inputs/) INPUT_FILES=$(foreach FILE,$(INPUT_FILE_LIST),inputs/$(FILE)) INTERMEDIATE_STAGE_FILES=$(INPUT_FILES:inputs/%=%)