summaryrefslogtreecommitdiff
path: root/02-song2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '02-song2/Makefile')
-rw-r--r--02-song2/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/02-song2/Makefile b/02-song2/Makefile
new file mode 100644
index 0000000..902f70c
--- /dev/null
+++ b/02-song2/Makefile
@@ -0,0 +1,10 @@
+SOUNDFONT = $(HOME)/FluidR3GM.sf2
+
+%.midi: %.ly
+ lilypond $<
+
+%.wav: %.midi
+ fluidsynth -F $@ -R no -i -a alsa $(SOUNDFONT) $<
+
+%.ogg: %.wav
+ oggenc $<