diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-02-24 20:56:14 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-02-24 20:56:35 +0100 |
commit | 70360b59dbb6a6cf4703bfe784a2e1e4d89ef1de (patch) | |
tree | 2d7df3670eb9dbfb80a6374f35ae93fa8235a85b | |
parent | ae892296500b2186a71fc47d8b0cae0f532af85d (diff) |
Add prefix (and clean target) for ogg files.
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | rules.mk | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 @@ -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 |