summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-10-07 17:41:54 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-10-07 17:41:54 +0200
commit1eeba03da0222a117054eca53e7be8ee1e8bd970 (patch)
treee2afe1a9361bba0d7a979e6905f49143347b221e /Makefile
parent988f5d2b5343850e19ad1512cefe6c53953aa02e (diff)
downloadttdaw-1eeba03da0222a117054eca53e7be8ee1e8bd970.tar.gz
Added ALSA MIDI example
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