aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cc62af2..0955ce3 100644
--- a/Makefile
+++ b/Makefile
@@ -28,3 +28,12 @@ clean:
.PHONY: run
run: build
$(DEBUG_PRODUCT) --daemon
+
+DomeKey/sounds.h: sounds/*.mp3
+ : > $@
+ echo '#ifndef SOUNDS_H' >> $@
+ echo '#define SOUNDS_H' >> $@
+ echo >> $@
+ $(foreach f,$^,xxd -include $(f) >> $@;)
+ echo >> $@
+ echo '#endif /* SOUNDS_H */' >> $@