Makefile: remove guide track rule.
[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_USE_CHORDS=$(LILYPOND_USE_CHORDS) lilypond -dinclude-settings=settings.ly -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
12 clean:
13 - rm $(wildcard */guide.wav) $(wildcard $(addsuffix /*.wav,$(SUBDIRS)))
14 - rm $(wildcard */*.ogg)
15
16 NAME := 01-song1
17 include rules.mk
18 NAME := 02-song2
19 include rules.mk
20 NAME := 03-circus
21 include rules.mk
22 NAME := 04-white-noise
23 include rules.mk
24
25
26 .PHONY: $(SUBDIRS) clean