Change relative paths.
[music/pretentious.git] / rules.mk
index 9420e6aae283291e98ab37dc209348a37a7523c4..1a85976575da5eb1c3c12ec5ba40fee3d6dd4402 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 $<