aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFarouk Bouabid <farouk.bouabid@theobroma-systems.com>2023-10-30 15:07:49 +0100
committerFarouk Bouabid <farouk.bouabid@theobroma-systems.com>2023-11-08 13:59:52 +0100
commitc36b2ef0c0ea32c48e10f54f1c4c53e460075c5b (patch)
tree75fa7122ddcee44f60c810c78f670f83ce3464f3
parent5442d7134fc03833c0d0d94011fe9b3b6a334b75 (diff)
mule-attiny: bitbang_updi_reset: rebuild when sources change
Executing make will not rebuild the target in case a file has changed unless the target depend on these files. Signed-off-by: Farouk Bouabid <farouk.bouabid@theobroma-systems.com>
-rw-r--r--mule-attiny/bitbang_updi_reset/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mule-attiny/bitbang_updi_reset/Makefile b/mule-attiny/bitbang_updi_reset/Makefile
index 4c19f00..919411c 100644
--- a/mule-attiny/bitbang_updi_reset/Makefile
+++ b/mule-attiny/bitbang_updi_reset/Makefile
@@ -26,7 +26,7 @@ endif
.PHONY: reset build clean
build: $(EXEC)
-$(EXEC):
+$(EXEC): *.c *.h Makefile
$(CC) serial_emu.c updi_emu.c updi_reset.c -lgpiod $(CFLAGS) -o $(EXEC)
# For testing purposes