stb/tests/Makefile

11 lines
424 B
Makefile
Raw Normal View History

2017-01-16 18:39:18 +08:00
INCLUDES = -I..
FLAGS = -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -DSTB_C_LEXER_SELF_TEST
2017-01-16 17:28:11 +08:00
2017-01-16 17:09:50 +08:00
32:
2017-01-16 18:39:18 +08:00
$(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
2017-01-16 17:09:50 +08:00
64:
2017-01-16 18:39:18 +08:00
$(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