diff Makefile @ 0:0773354c7428

Initial commit, WIP.
author Daniel O'Connor <darius@dons.net.au>
date Sat, 05 Mar 2016 21:59:44 +1030
parents
children b1aac55d2864
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Sat Mar 05 21:59:44 2016 +1030
@@ -0,0 +1,24 @@
+.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
+
+# Generic rules
+.mup.midi:
+	$(MUP) -m $@ $>
+
+.mup.ps:
+	$(MUP) $(MOPTS) $(MVOPTS) $> > $@
+