Add rule to build part file.
authorrekado <rekado@elephly.net>
Fri, 3 Jun 2016 20:31:50 +0000 (22:31 +0200)
committerrekado <rekado@elephly.net>
Fri, 3 Jun 2016 20:31:50 +0000 (22:31 +0200)
targets.mk

index 17cdc6b99c2e6370b9cccc05b079c1cbd7d07c11..b1b6c82f8784ab81a19f2e1aed957c7f1920a534 100644 (file)
@@ -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) $<