1 # What soundfont to use to generate the MIDI file
2 SOUNDFONT
= $(HOME
)/soundfonts
/FluidR3GM.sf2
3 # Determine how many processors are present
4 CPU_CORES
=`grep -m1 "cpu cores" /proc/cpuinfo | tr -cd '[:digit:]'`
5 # The command to run lilypond
6 LILY_CMD
= lilypond
-ddelete-intermediate-files
-djob-count
=$(CPU_CORES
)
8 %.midi
: %.ly parts
/*.ly
12 fluidsynth
-r
48000 -F
$@
-l
-R no
-i
-n
-a alsa
$(SOUNDFONT
) $<
21 scp
$(NAME
).ogg elephly.net
:~
/elephly.net
/secret
/band
/$(NAME
)/$(NAME
).ogg
24 scp
$(NAME
).wav elephly.net
:~
/elephly.net
/secret
/band
/$(NAME
)/$(NAME
).wav