2013-09-30 16:52:43 +02:00
|
|
|
SONGS = space warm-up number2
|
2012-03-01 00:07:13 +01:00
|
|
|
OGG = $(SONGS:%=%.ogg)
|
|
|
|
WAV = $(SONGS:%=%.wav)
|
|
|
|
MID = $(SONGS:%=%.mid)
|
|
|
|
PDF = $(SONGS:%=%.pdf)
|
|
|
|
|
|
|
|
all: $(OGG)
|
|
|
|
|
|
|
|
%.ogg: %.wav
|
|
|
|
oggenc $<
|
|
|
|
|
|
|
|
%.mid: %.abc
|
|
|
|
abc2midi $< -o $@
|
|
|
|
|
|
|
|
%.wav: %.mid %.csd
|
|
|
|
csound -d -o $@ -T -F $< `basename $< .mid`.csd
|
|
|
|
|
|
|
|
%.pdf: %.abc
|
|
|
|
abcm2ps -B 4 -O - $< | ps2pdf - $@
|
|
|
|
|
|
|
|
pdf: $(PDF)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OGG) $(WAV) $(MID) $(PDF)
|
|
|
|
|
|
|
|
.PHONY: all clean
|