From e90a5854b35b81b6902da778e1a0ec9b63492e0b Mon Sep 17 00:00:00 2001 From: rekado Date: Tue, 6 Dec 2016 12:30:22 +0100 Subject: Add stafftab engraver for Stick. --- targets.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'targets.mk') diff --git a/targets.mk b/targets.mk index c4e7fe9..f305970 100644 --- a/targets.mk +++ b/targets.mk @@ -1,9 +1,14 @@ +# Project root directory +TOP := $(dir $(lastword $(MAKEFILE_LIST))) + # What soundfont to use to generate the MIDI file SOUNDFONT = $(HOME)/soundfonts/FluidR3GM.sf2 # Determine how many processors are present CPU_CORES=`grep -m1 "cpu cores" /proc/cpuinfo | tr -cd '[:digit:]'` +# StaffTab loader +STAFFTAB_LOADER = "(load \"$(TOP)/stafftab-engraver.scm\")" # The command to run lilypond -LILY_CMD = lilypond -ddelete-intermediate-files -drelative-includes -djob-count=$(CPU_CORES) +LILY_CMD = lilypond -ddelete-intermediate-files -drelative-includes -djob-count=$(CPU_CORES) -e $(STAFFTAB_LOADER) parts/%.pdf: parts/%.ly music/%.ly $(LILY_CMD) $< -- cgit v1.2.3