view Makefile @ 38:9e8ed92b477c

Re-jig note translation to only happen when we are going to emit a note. This fixes "note_off with no note_on" cases (iWriteMusic likes to emit these for rests). This means some messages have untransposed notes but we draw the line because they only have to be transposed because of limitations in the organ so before that they are are untransposed (except for the bulk adjustment)
author Daniel O'Connor <darius@dons.net.au>
date Mon, 23 May 2016 22:35:44 +0930
parents 5f4c21bb5140
children
line wrap: on
line source

.SUFFIXES: .mup .ps .midi

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

all: test.midi scale.midi 

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

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

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