mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-15 11:50:37 +02:00
labsw/fw/Makefile: remove io-parts.h on clean; improved dependencies of io-parts.h
This commit is contained in:
parent
d92a53c79e
commit
1121b71b03
@ -28,7 +28,9 @@ USB_ID = $(shell \
|
|||||||
|
|
||||||
.PHONY: dfu
|
.PHONY: dfu
|
||||||
|
|
||||||
all: io-parts.h
|
all: $(MAIN)
|
||||||
|
|
||||||
|
$(MAIN).rel: io-parts.h
|
||||||
|
|
||||||
io-parts.h: io.h Makefile
|
io-parts.h: io.h Makefile
|
||||||
cpp -dD $< | \
|
cpp -dD $< | \
|
||||||
@ -45,8 +47,8 @@ io-parts.h: io.h Makefile
|
|||||||
END { print "#endif" }' >$@ || \
|
END { print "#endif" }' >$@ || \
|
||||||
{ rm -f $@; exit 1; }
|
{ rm -f $@; exit 1; }
|
||||||
|
|
||||||
#clean::
|
clean::
|
||||||
# rm -f io-parts.h
|
rm -f io-parts.h
|
||||||
|
|
||||||
# hack: for now, we just reuse the boot loader from cntr
|
# hack: for now, we just reuse the boot loader from cntr
|
||||||
USB_ID = 20b7:cb72
|
USB_ID = 20b7:cb72
|
||||||
|
Loading…
Reference in New Issue
Block a user