diff options
author | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-25 21:49:08 +0000 |
---|---|---|
committer | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-25 21:49:08 +0000 |
commit | 41423de5864e325663f76cc9336f8d0ba68a3c83 (patch) | |
tree | 3e94e7d4be89b41edef3dda405ebee0f9d81bf58 /firmware/Makefile.dfu | |
parent | 89c40594e76db780d1b72795901a8e8754810a62 (diff) |
- fix build process of USB string header files (make it work with first 'make' run)
git-svn-id: https://svn.openpcd.org:2342/trunk@229 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/Makefile.dfu')
-rw-r--r-- | firmware/Makefile.dfu | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/Makefile.dfu b/firmware/Makefile.dfu index ae98f1c..42d7bb1 100644 --- a/firmware/Makefile.dfu +++ b/firmware/Makefile.dfu @@ -542,14 +542,20 @@ clean_list : $(REMOVE) .dep/* $(REMOVE) src/picc/usb_strings_dfu.h $(REMOVE) src/dfu/usb_strings_dfu.h + $(REMOVE) scripts/usbstring .PHONY: include/compile.h include/compile.h: scripts/mkcompile_h > $@ +.PHONY: $(USBSTRINGS): %.h : %.txt ./scripts/usbstring cat $< | ./scripts/usbstring > $@ +scripts/usbstring: scripts/usbstring.c + gcc $^ -o $@ + + # Include the dependency files. -include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*) |