1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-15 09:13:43 +02:00

labsw/fw/Makefile: remove io-parts.h on clean; improved dependencies of io-parts.h

This commit is contained in:
Werner Almesberger 2011-09-04 12:35:59 -03:00
parent d92a53c79e
commit 1121b71b03

View File

@ -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