summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2015-11-11 10:47:07 +0100
committerrekado <rekado@elephly.net>2015-11-11 11:02:03 +0100
commit6b72c4d106782c37840a64ef0811e23abdae2669 (patch)
treeed23f47bbcc62c4dea0e8e5646380794cd0b3501
parentd30eed2d7b73ab4401ac6bf77a218520835588ce (diff)
Add Makefiles.
-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 $<