summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 51e4b2d..727e920 100644
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,11 @@ tests: build-portmidi
$(CC) -Wall example2.c minisdl_audio.c -lm -ldl -lpthread -o example2
$(CC) -Wall example3.c -L./portmidi -lportmidi -o example3
-run-example3:
+run-example3: tests
LD_LIBRARY_PATH=./portmidi ./example3
+run-example4:
+ $(CC) example4.c -lasound -lm -o example4 && ./example4
+
build-portmidi:
cd portmidi && cmake . && make