summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/Makefile b/examples/Makefile
new file mode 100644
index 0000000..5f77125
--- /dev/null
+++ b/examples/Makefile
@@ -0,0 +1,5 @@
+tests:
+ $(CC) -Wall example1.c ../minisdl_audio.c -lm -ldl -lpthread -o example1
+ $(CC) -Wall example2.c ../minisdl_audio.c -lm -ldl -lpthread -o example2
+ $(CC) -Wall example4.c -lasound -lm -o example4
+