diff options
Diffstat (limited to 'targets.mk')
-rw-r--r-- | targets.mk | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) $< |