From 1c5ee1f11f94818b435f3cf99b51bbedd7e9cd7e Mon Sep 17 00:00:00 2001 From: Jeremy Elson Date: Mon, 25 Feb 2019 15:08:20 -0800 Subject: [PATCH] Add blackmagic.bin as dependency of bindata.o so that running make in upgrade will correctly rebuild the upgrade tool if the main binary has changed. --- upgrade/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/upgrade/Makefile b/upgrade/Makefile index 397b3e6a..c8946967 100644 --- a/upgrade/Makefile +++ b/upgrade/Makefile @@ -12,6 +12,8 @@ OBJ = bindata.o \ all: $(OUTFILE) +bindata.o: ../src/blackmagic.bin + $(OUTFILE) $(OUTFILE).exe: $(OBJ) $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)