song 1: bass: Use more volta repeats.
[music/pretentious.git] / rules.mk
index 9420e6a..120172c 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -4,13 +4,13 @@ $(NAME)/$(NAME).wav: $(NAME)/$(NAME).midi
        fluidsynth -r 48000 -F $@ -l -R no -i -n -a alsa $(SOUNDFONT) $<
 
 $(NAME)/parts/%.pdf: $(NAME)/parts/%.ly $(NAME)/music/%.ly
-       $(LILY_CMD) $<
+       $(LILY_CMD) --output=$(dir $@) $<
 
 $(NAME)/$(NAME).pdf: $(NAME)/$(NAME).ly $(wildcard $(NAME)/music/*.ly)
-       $(LILY_CMD) $<
+       $(LILY_CMD) --output=$(dir $@) $<
 
 $(NAME)/$(NAME).midi: $(NAME)/$(NAME).ly $(wildcard $(NAME)/music/*.ly)
-       $(LILY_CMD) $<
+       $(LILY_CMD) --output=$(dir $@) $<
 
 $(NAME)/$(NAME)-klick-mono.wav: $(NAME)/$(NAME).tempo
        klick -W $@ -f $<
@@ -19,9 +19,9 @@ $(NAME)/$(NAME)-klick.wav: $(NAME)/$(NAME)-klick-mono.wav
        sox $< $@ channels 2
 
 $(NAME)/guide.wav: $(NAME)/$(NAME)-klick.wav $(NAME)/$(NAME).wav
-       sox --combine mix $< -v 0.5 $(word 2,$^) $@
+       sox --combine mix $< -v 0.25 $(word 2,$^) $@
 
-%.ogg: %.wav
+$(NAME)/$(NAME).ogg: $(NAME)/$(NAME).wav
        oggenc $<
 
 $(NAME)/upload-ogg: $(NAME)/$(NAME).ogg