From cf6d17cd74f0bd6792cb40fea421598b28713638 Mon Sep 17 00:00:00 2001 From: Sean Barrett Date: Mon, 16 Jan 2017 01:28:11 -0800 Subject: [PATCH] makefile --- tests/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 34c8f9b..412cb10 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,7 +1,9 @@ +INCLUDE = -I.. + 32: - $(CC) -m32 -I.. ../stb_vorbis.c test_c_compilation.c - $(CC) -m32 -I.. ../stb_vorbis.c test_cpp_compilation.cpp + $(CC) -m32 $(INCLUDE) ../stb_vorbis.c test_c_compilation.c -lm + $(CC) -m32 $(INCLUDE) ../stb_vorbis.c test_cpp_compilation.cpp -lm 64: - $(CC) -m64 -I.. ../stb_vorbis.c test_c_compilation.c - $(CC) -m64 -I.. ../stb_vorbis.c test_cpp_compilation.cpp + $(CC) -m64 $(INCLUDE) ../stb_vorbis.c test_c_compilation.c -lm + $(CC) -m64 $(INCLUDE) ../stb_vorbis.c test_cpp_compilation.cpp -lm