added stb, more binaryout changes"
[henge/apc.git] / stb / tests / Makefile
diff --git a/stb/tests/Makefile b/stb/tests/Makefile
new file mode 100644 (file)
index 0000000..055ffaf
--- /dev/null
@@ -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