view Makefile @ 43:c69e53b8917c

Read in per-job options from an ini file and add main funciton so you can do.. env PYTHONPATH=$HOME/lib/python python ./musiccutter.py music/Rosy\'s\ Angel\ Lullaby.mid music/Rosy\'s\ Angel\ Lullaby.ini orgues-de-barbarie-27.ini music
author Daniel O'Connor <darius@dons.net.au>
date Tue, 28 Jun 2016 17:58:32 +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) $> > $@