summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--targets.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/targets.mk b/targets.mk
index 17cdc6b..b1b6c82 100644
--- a/targets.mk
+++ b/targets.mk
@@ -5,6 +5,9 @@ CPU_CORES=`grep -m1 "cpu cores" /proc/cpuinfo | tr -cd '[:digit:]'`
# The command to run lilypond
LILY_CMD = lilypond -ddelete-intermediate-files -djob-count=$(CPU_CORES)
+instr/%.pdf: instr/%.ly parts/%.ly
+ $(LILY_CMD) $<
+
%.midi: %.ly parts/*.ly
$(LILY_CMD) $<