view Makefile @ 8:f07a997e9f79

Engrave filename and page number.
author Daniel O'Connor <darius@dons.net.au>
date Sat, 02 Apr 2016 23:26:38 +1030
parents b1aac55d2864
children 5f4c21bb5140
line wrap: on
line source

.SUFFIXES: .mup .ps .midi

MUP=	mup
RM=	rm -f
MOPTS=	
MVOPTS=	
MPOPTS=	-DPIANO -DNOVOICE

all: test.midi test.ps
#all: test.ps test-piano.ps test.midi

test-piano.ps: test.mup
	$(MUP) $(MOPTS) $(MPOPTS) $> > $@

clean:
	$(RM) test.ps test-piano.ps test.midi

# Generic rules
.mup.midi:
	$(MUP) -m $@ $>

.mup.ps:
	$(MUP) $(MOPTS) $(MVOPTS) $> > $@