summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--02-song2/Makefile10
-rw-r--r--03-circus/Makefile10
2 files changed, 20 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 $<
diff --git a/03-circus/Makefile b/03-circus/Makefile
new file mode 100644
index 0000000..902f70c
--- /dev/null
+++ b/03-circus/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 $<