summaryrefslogtreecommitdiff
path: root/targets.mk
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-02-24 20:31:13 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-02-24 20:31:13 +0100
commit3b1a55647bf4dd4831ac51414a23db043e159e0e (patch)
treede99ca2b25056f1c680e1e29265230e9e4eef96b /targets.mk
parent92021c84ce1959dea386049302eae51e95195792 (diff)
Recursive make considered harmful.
Diffstat (limited to 'targets.mk')
-rw-r--r--targets.mk44
1 files changed, 0 insertions, 44 deletions
diff --git a/targets.mk b/targets.mk
deleted file mode 100644
index 1c6b854..0000000
--- a/targets.mk
+++ /dev/null
@@ -1,44 +0,0 @@
-# Project root directory
-TOP := $(dir $(lastword $(MAKEFILE_LIST)))
-
-# What soundfont to use to generate the MIDI file
-SOUNDFONT = $(HOME)/soundfonts/FluidR3GM.sf2
-# Determine how many processors are present
-CPU_CORES=`grep -m1 "cpu cores" /proc/cpuinfo | tr -cd '[:digit:]'`
-# The command to run lilypond
-LILY_CMD = lilypond -ddelete-intermediate-files -drelative-includes -djob-count=$(CPU_CORES)
-
-wav: $(NAME).wav
-ogg: $(NAME).ogg
-guide: guide.wav
-
-upload-ogg: ogg
- scp $(NAME).ogg elephly.net:~/elephly.net/secret/band/$(NAME)/$(NAME).ogg
-
-upload-wav: wav
- scp $(NAME).wav elephly.net:~/elephly.net/secret/band/$(NAME)/$(NAME).wav
-
-
-parts/%.pdf: parts/%.ly music/%.ly
- $(LILY_CMD) $<
-
-%.pdf: %.ly music/*.ly
- $(LILY_CMD) $<
-
-%.midi: %.ly music/*.ly
- $(LILY_CMD) $<
-
-$(NAME).wav: $(NAME).midi
- fluidsynth -r 48000 -F $@ -l -R no -i -n -a alsa $(SOUNDFONT) $<
-
-%-klick-mono.wav: %.tempo
- klick -W $@ -f $<
-
-%-klick.wav: %-klick-mono.wav
- sox $< $@ channels 2
-
-guide.wav: $(NAME)-klick.wav $(NAME).wav
- sox --combine mix $(NAME)-klick.wav -v 0.25 $(NAME).wav $@
-
-%.ogg: %.wav
- oggenc $<