summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-02-21 23:06:08 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-02-21 23:06:08 +0100
commita9d88dc660fc75a0c475bbfbb38d3886b60acd44 (patch)
tree0fdd9875c9197ee2c8f890448b5a92dba0e9c3b7 /Makefile
parent800cf4d789932ef18d5a0b93369dc2389579be66 (diff)
Add target to build concatenated guide track.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8f97c64..869a78c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,15 @@
-SUBDIRS := $(wildcard */.)
+SUBDIRS := $(wildcard 0*/)
all : $(SUBDIRS)
+guide: guide.wav
+guide.wav: $(addsuffix guide.wav,$(SUBDIRS))
+ sox --combine concatenate $(sort $^) $@
+
$(SUBDIRS) :
$(MAKE) -C $@
+%/guide.wav:
+ $(MAKE) -C $* guide
+
.PHONY : all $(SUBDIRS)