summaryrefslogtreecommitdiff
path: root/targets.mk
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2016-06-03 22:31:50 +0200
committerrekado <rekado@elephly.net>2016-06-03 22:31:50 +0200
commitbca1c3dc7ed6efcc3f2dc152296e349a903f4c39 (patch)
treed64e836043cc7e85e4472f17bc03812886ad5855 /targets.mk
parent704716ca8805c51c2d79529be6ef9c1aee0305ea (diff)
Add rule to build part file.
Diffstat (limited to 'targets.mk')
-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) $<