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.
This commit is contained in:
Jeremy Elson 2019-02-25 15:08:20 -08:00 committed by Uwe Bonnes
parent c19ca20e36
commit 1c5ee1f11f
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ OBJ = bindata.o \
all: $(OUTFILE)
bindata.o: ../src/blackmagic.bin
$(OUTFILE) $(OUTFILE).exe: $(OBJ)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)