From 147c963d5954429b7a8be179a8e304278a6b2602 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Wed, 19 Apr 2023 20:06:38 -0600 Subject: [PATCH] Fix makefile --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4d13e4a..f3fb7ac 100644 --- a/Makefile +++ b/Makefile @@ -8,10 +8,13 @@ install: build/uilleann.ino.uf2 ./install.sh $< $(UF2_MOUNT) # uf2conv.py is covered by an MIT license. -build/uf2conv.py: +build/uf2conv.py: build/uf2families.json mkdir -p build - curl -L https://raw.githubusercontent.com/microsoft/uf2/master/utils/uf2conv.py > $@ + curl -L https://raw.githubusercontent.com/microsoft/uf2/master/utils/$(@F) > $@ chmod +x $@ +build/uf2families.json: + mkdir -p build + curl -L https://raw.githubusercontent.com/microsoft/uf2/master/utils/$(@F) > $@ %.uf2: %.bin build/uf2conv.py build/uf2conv.py -b 0x4000 -c -o $@ $<