From 1dd1b6c191df8d666b19a8a7e8dbd482619ddf99 Mon Sep 17 00:00:00 2001 From: Sean Barrett Date: Mon, 16 Jan 2017 02:53:36 -0800 Subject: [PATCH] makefile --- tests/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 5d5d266..34bd057 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,10 +1,11 @@ INCLUDES = -I.. -FLAGS = -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -DSTB_DIVIDE_TEST +CFLAGS = -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -DSTB_DIVIDE_TEST +CPPFLAGS = -Wno-write-strings -DSTB_DIVIDE_TEST 32: - $(CC) -m32 $(INCLUDES) $(FLAGS) ../stb_vorbis.c test_c_compilation.c -lm - $(CC) -m32 $(INCLUDES) $(FLAGS) ../stb_vorbis.c test_cpp_compilation.cpp -lm + $(CC) -m32 $(INCLUDES) $(CFLAGS) ../stb_vorbis.c test_c_compilation.c -lm + $(CC) -m32 $(INCLUDES) $(CPPFLAGS) ../stb_vorbis.c test_cpp_compilation.cpp -lm 64: - $(CC) -m64 $(INCLUDES) $(FLAGS) ../stb_vorbis.c test_c_compilation.c -lm - $(CC) -m64 $(INCLUDES) $(FLAGS) ../stb_vorbis.c test_cpp_compilation.cpp -lm + $(CC) -m64 $(INCLUDES) $(CFLAGS) ../stb_vorbis.c test_c_compilation.c -lm + $(CC) -m64 $(INCLUDES) $(CPPFLAGS) ../stb_vorbis.c test_cpp_compilation.cpp -lm