summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--rules.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d46637d..5d193e2 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,7 @@ guide.wav: $(addsuffix /guide.wav,$(SUBDIRS))
sox --combine concatenate $(sort $^) $@
clean:
- rm guide.wav $(wildcard */guide.wav) $(wildcard $(addsuffix /*.wav,$(SUBDIRS)))
+ - rm $(wildcard */*.ogg)
NAME := 01-song1
include rules.mk
diff --git a/rules.mk b/rules.mk
index 1a85976..8f0fb48 100644
--- a/rules.mk
+++ b/rules.mk
@@ -21,7 +21,7 @@ $(NAME)/$(NAME)-klick.wav: $(NAME)/$(NAME)-klick-mono.wav
$(NAME)/guide.wav: $(NAME)/$(NAME)-klick.wav $(NAME)/$(NAME).wav
sox --combine mix $< -v 0.5 $(word 2,$^) $@
-%.ogg: %.wav
+$(NAME)/$(NAME).ogg: $(NAME)/$(NAME).wav
oggenc $<
$(NAME)/upload-ogg: $(NAME)/$(NAME).ogg