summaryrefslogtreecommitdiff
path: root/firmware/Makefile.dfu
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/Makefile.dfu')
-rw-r--r--firmware/Makefile.dfu6
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/*)
personal git repositories of Harald Welte. Your mileage may vary