aboutsummaryrefslogtreecommitdiff
path: root/pokeytest/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pokeytest/Makefile')
-rw-r--r--pokeytest/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/pokeytest/Makefile b/pokeytest/Makefile
new file mode 100644
index 0000000..e629344
--- /dev/null
+++ b/pokeytest/Makefile
@@ -0,0 +1,15 @@
+
+all:
+ gcc -O2 -Wall -o playsdl2 playsdl2.c pokey.c `pkg-config sdl2 --cflags --libs`
+
+#gcc -O2 -Wall -o playsnd playsnd.c pokey.c
+
+#test: all
+#./playsnd > 1.raw
+#aplay -r 44100 -c 1 -t raw -f u8 1.raw
+
+test: all
+ ./playsdl2 $(TEST_SFX)
+
+clean:
+ rm -f *.o playsnd playsdl2 *.raw core