From 1b7aa1af87448e74dc9045e180a65238fbe37265 Mon Sep 17 00:00:00 2001 From: Sean Barrett Date: Mon, 16 Jan 2017 02:39:18 -0800 Subject: [PATCH] makefile --- tests/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 85a7e1d..c5f3af6 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,10 +1,10 @@ -INCLUDE = -I.. -DEFINES = -DSTB_C_LEXER_SELF_TEST +INCLUDES = -I.. +FLAGS = -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -DSTB_C_LEXER_SELF_TEST 32: - $(CC) -m32 $(INCLUDE) $(DEFINES) ../stb_vorbis.c test_c_compilation.c stb.c -lm - $(CC) -m32 $(INCLUDE) $(DEFINES) ../stb_vorbis.c test_cpp_compilation.cpp -lm + $(CC) -m32 $(INCLUDES) $(FLAGS) ../stb_vorbis.c test_c_compilation.c stb.c -lm + $(CC) -m32 $(INCLUDES) $(FLAGS) ../stb_vorbis.c test_cpp_compilation.cpp -lm 64: - $(CC) -m64 $(INCLUDE) $(DEFINES) ../stb_vorbis.c test_c_compilation.c stb.c -lm - $(CC) -m64 $(INCLUDE) $(DEFINES) ../stb_vorbis.c test_cpp_compilation.cpp -lm + $(CC) -m64 $(INCLUDES) $(FLAGS) ../stb_vorbis.c test_c_compilation.c stb.c -lm + $(CC) -m64 $(INCLUDES) $(FLAGS) ../stb_vorbis.c test_cpp_compilation.cpp -lm