From a74c0f53f0a7a496e0b7f05fc1196c4399477467 Mon Sep 17 00:00:00 2001 From: Wesley Ellis Date: Sun, 30 Jan 2022 14:38:58 -0500 Subject: [PATCH] Add main.c as dep to goodwatch.elf and rftest.elf make targets (#158) --- firmware/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/Makefile b/firmware/Makefile index 216019a..be742a0 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -140,10 +140,10 @@ githash.h: buildtime.h: ../bin/buildtime.py >buildtime.h -goodwatch.elf: $(modules) $(apps) *.h +goodwatch.elf: $(modules) $(apps) *.h main.c $(CC) -T cc430f6137.ld -o goodwatch.elf main.c $(modules) $(apps) ../bin/printsizes.py goodwatch.elf || echo "Please install python-pyelftools." -rftest.elf: $(modules) $(apps) *.h +rftest.elf: $(modules) $(apps) *.h main.c $(CC) -DRFTEST -T cc430f6137.ld -o rftest.elf main.c $(modules) $(apps) ../bin/printsizes.py rftest.elf || echo "Please install python-pyelftools."