
files=horn.ly score.ly trombone.ly tuba.ly trumpets.ly trumpets-C.ly 
distfiles=$(files)  ascendo-ad-patrem.ly GNUmakefile
pdfs=$(files:.ly=.pdf)

def: $(pdfs)

%.pdf: %.ly  ascendo-ad-patrem.ly
	lilypond $<

dist:
	mkdir ascendo/
	cp $(distfiles) ascendo/
	cp $(pdfs) ascendo/
	cp score.midi ascendo/
	zip ascendo-ad-patrem.zip ascendo/*
	rm -rf ascendo/

udist: $(pdfs)
	cp  $(pdfs) $(distfiles) $(HOME)/public_html/public/music/ascendo/
