summaryrefslogtreecommitdiff
path: root/thirdparty/stb/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/stb/tests/Makefile')
-rw-r--r--thirdparty/stb/tests/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/thirdparty/stb/tests/Makefile b/thirdparty/stb/tests/Makefile
new file mode 100644
index 0000000..53e2485
--- /dev/null
+++ b/thirdparty/stb/tests/Makefile
@@ -0,0 +1,7 @@
+INCLUDES = -I..
+CFLAGS = -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -DSTB_DIVIDE_TEST
+CPPFLAGS = -Wno-write-strings -DSTB_DIVIDE_TEST
+
+all:
+ $(CC) $(INCLUDES) $(CFLAGS) ../stb_vorbis.c test_c_compilation.c -lm
+ $(CC) $(INCLUDES) $(CPPFLAGS) test_cpp_compilation.cpp -lm -lstdc++