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