Accidentials: Don't use parentheses for cautionary accidentals
[orchestrallily.git] / Templates / Makefile
blobe1802902dd867a05d99c6cb436071d99db8fe9d4
1 SRCS = %(srcfiles)s %(basename)s_Settings.ily
2 OUT=out
4 instruments = %(instruments)s
5 scores = %(scores)s
7 pdfs = $(instruments:%%=$(OUT)/%(basename)s_Instrument_%%.pdf) $(scores:%%=$(OUT)/%(basename)s_Score_%%.pdf)
8 texs = $(scores:%%=TeX_%(basename)s_Score_%%.tex)
9 texpdfs = $(scores:%%=$(OUT)/TeX_%(basename)s_Score_%%.pdf) $(OUT)/TeX_%(basename)s_Score_Instruments.pdf
12 .PHONY: all clean
13 all: $(OUT) $(instruments) $(scores) tex
14 instruments: $(instruments)
15 scores: $(scores)
17 clean:
18 rm -rf $(OUT)
20 $(OUT) :
21 mkdir -p $(OUT)
23 $(instruments): %% : $(OUT)/%(basename)s_Instrument_%%.pdf $(SRCS)
24 $(scores): %% : $(OUT)/%(basename)s_Score_%%.pdf $(SRCS)
26 $(OUT)/%%.pdf : %%.ly $(SRCS)
27 lilypond -o $(basename $@) $<
29 $(OUT)/%%.mp3 : %%.midi
30 timidity -c /etc/timidity/fluidr3_gm.cfg -OwM $< -o $@
32 tex: latex
33 latex: $(texpdfs)
35 $(OUT)/TeX_%%.pdf : TeX_%%.tex
36 TEXINPUTS=$(OUT): latex --output-directory=$(OUT)/ $<