view Makefile @ 7:31db42ce72b8

Rework to be class-y Need to handle page bridging notes.
author Daniel O'Connor <darius@dons.net.au>
date Sat, 02 Apr 2016 23:06:48 +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) $> > $@