.PHONY=all

LILY=/Applications/LilyPond\ 2.app/Contents/Resources/bin/lilypond

# Starting with the original trumpets "en FA", in F, (circa 1850 orchestral
# trumpets, not alto trumpets), make trumpets parts in F (original), Bb,
# and C, and make separate trumpet 1 and trumpet 2 parts in Bb.

all: trumpetsf.pdf trumpet1.pdf trumpet2.pdf trumpets.pdf trumpetsc.pdf trumpet12.pdf

clean:
	rm -f *.pdf *.ps

tidy:
	rm -f *~ *.ps

trumpetsf.pdf: trumpetsf.ly title.ly notesm1.ly notesm2.ly notesm3.ly
	$(LILY) trumpetsf.ly

trumpet1.pdf: trumpet1.ly title.ly notesm1.ly notesm2.ly notesm3.ly
	$(LILY) trumpet1.ly

trumpet2.pdf: trumpet2.ly title.ly notesm1.ly notesm2.ly notesm3.ly
	$(LILY) trumpet2.ly

trumpet12.pdf: trumpet12.ly title.ly notesm1.ly notesm2.ly notesm3.ly
	$(LILY) trumpet12.ly

trumpets.pdf: trumpets.ly title.ly notesm1.ly notesm2.ly notesm3.ly
	$(LILY) trumpets.ly

trumpetsc.pdf: trumpetsc.ly title.ly notesm1.ly notesm2.ly notesm3.ly
	$(LILY) trumpetsc.ly

# Movement 1, for verifying data entry (faster processing)
m1.pdf: m1.ly title.ly notesm1.ly
	$(LILY) m1.ly

# Movement 2, for verifying data entry (faster processing)
m2.pdf: m2.ly title.ly notesm2.ly
	$(LILY) m2.ly

# Movement 3, for verifying data entry (faster processing)
m3.pdf: m3.ly title.ly notesm3.ly
	$(LILY) m3.ly
