song 1: bass: Use more volta repeats.
[music/pretentious.git] / Makefile
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 -drelative-includes -djob-count=$(CPU_CORES)
7
8 SUBDIRS := 01-song1 02-song2 03-circus 04-white-noise
9
10 all: $(SUBDIRS)
11 guide: guide.wav
12 guide.wav: $(addsuffix /guide.wav,$(SUBDIRS))
13 sox --combine concatenate $(sort $^) $@
14 clean:
15 - rm guide.wav $(wildcard */guide.wav) $(wildcard $(addsuffix /*.wav,$(SUBDIRS)))
16 - rm $(wildcard */*.ogg)
17
18 NAME := 01-song1
19 include rules.mk
20 NAME := 02-song2
21 include rules.mk
22 NAME := 03-circus
23 include rules.mk
24 NAME := 04-white-noise
25 include rules.mk
26
27 upload-guide: guide.wav
28 scp guide.wav elephly.net:~/elephly.net/secret/band/guide.wav
29
30 .PHONY: $(SUBDIRS) clean