From 41423de5864e325663f76cc9336f8d0ba68a3c83 Mon Sep 17 00:00:00 2001 From: laforge Date: Mon, 25 Sep 2006 21:49:08 +0000 Subject: - 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 --- firmware/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/Makefile') diff --git a/firmware/Makefile b/firmware/Makefile index f94800b..b5f92ae 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -569,6 +569,7 @@ clean_list : $(REMOVE) .dep/* $(REMOVE) include/compile.h $(REMOVE) src/picc/usb_strings_app.h + $(REMOVE) scripts/usbstring .PHONY: include/compile.h include/compile.h: @@ -577,6 +578,9 @@ include/compile.h: $(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/*) -- cgit v1.2.3