Makefile
branchv_0
changeset 0 dcdd12e654da
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Tue May 19 22:56:20 2020 +0200
@@ -0,0 +1,15 @@
+sysex2smf: sysex2smf.cpp
+	g++ -fno-omit-frame-pointer -fsanitize=address -o sysex2smf sysex2smf.cpp $(shell pkg-config --cflags --libs smf)
+
+clean:
+	rm -f sysex2smf
+	rm -f test.mid
+
+test.txt:
+	echo ahoj > test.txt
+
+test.syx: test.txt
+	cat test.txt | tr -d \\n | ../mt-32-display/mt-32-display | sed -r 's/[^abcdefABCDEF0-9]|(--[^--]*--)//g' | sed 's/../\\\\x\0/g' | xargs echo -en > test.syx
+
+test.mid: sysex2smf test.syx
+	cat test.syx | ./sysex2smf test.mid