aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..51e4b2d
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
1tests: build-portmidi
2 $(CC) -Wall example1.c minisdl_audio.c -lm -ldl -lpthread -o example1
3 $(CC) -Wall example2.c minisdl_audio.c -lm -ldl -lpthread -o example2
4 $(CC) -Wall example3.c -L./portmidi -lportmidi -o example3
5
6run-example3:
7 LD_LIBRARY_PATH=./portmidi ./example3
8
9build-portmidi:
10 cd portmidi && cmake . && make