equal
deleted
inserted
replaced
|
1 sysex2smf: sysex2smf.cpp |
|
2 g++ -fno-omit-frame-pointer -fsanitize=address -o sysex2smf sysex2smf.cpp $(shell pkg-config --cflags --libs smf) |
|
3 |
|
4 clean: |
|
5 rm -f sysex2smf |
|
6 rm -f test.mid |
|
7 |
|
8 test.txt: |
|
9 echo ahoj > test.txt |
|
10 |
|
11 test.syx: test.txt |
|
12 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 |
|
13 |
|
14 test.mid: sysex2smf test.syx |
|
15 cat test.syx | ./sysex2smf test.mid |