view Makefile @ 11:9faad813e39e

switch to PDF to avoid dealing with CorelDraw crashing
author Daniel O'Connor <darius@dons.net.au>
date Thu, 07 Apr 2016 23:35:44 +0930
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) $> > $@