summaryrefslogtreecommitdiff
path: root/firmware/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/Makefile')
-rw-r--r--firmware/Makefile4
1 files changed, 4 insertions, 0 deletions
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/*)
personal git repositories of Harald Welte. Your mileage may vary