mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-15 06:17:31 +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
|
||||
|
||||
all: io-parts.h
|
||||
all: $(MAIN)
|
||||
|
||||
$(MAIN).rel: io-parts.h
|
||||
|
||||
io-parts.h: io.h Makefile
|
||||
cpp -dD $< | \
|
||||
@ -45,8 +47,8 @@ io-parts.h: io.h Makefile
|
||||
END { print "#endif" }' >$@ || \
|
||||
{ rm -f $@; exit 1; }
|
||||
|
||||
#clean::
|
||||
# rm -f io-parts.h
|
||||
clean::
|
||||
rm -f io-parts.h
|
||||
|
||||
# hack: for now, we just reuse the boot loader from cntr
|
||||
USB_ID = 20b7:cb72
|
||||
|
Loading…
Reference in New Issue
Block a user