stb/tests/Makefile

11 lines
414 B
Makefile
Raw Normal View History

2017-01-16 13:39:18 +03:00
INCLUDES = -I..
2017-01-16 13:47:27 +03:00
FLAGS = -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -DSTB_DIVIDE_TEST
2017-01-16 12:28:11 +03:00
2017-01-16 12:09:50 +03:00
32:
2017-01-16 13:47:27 +03:00
$(CC) -m32 $(INCLUDES) $(FLAGS) ../stb_vorbis.c test_c_compilation.c -lm
2017-01-16 13:39:18 +03:00
$(CC) -m32 $(INCLUDES) $(FLAGS) ../stb_vorbis.c test_cpp_compilation.cpp -lm
2017-01-16 12:09:50 +03:00
64:
2017-01-16 13:47:27 +03:00
$(CC) -m64 $(INCLUDES) $(FLAGS) ../stb_vorbis.c test_c_compilation.c -lm
2017-01-16 13:39:18 +03:00
$(CC) -m64 $(INCLUDES) $(FLAGS) ../stb_vorbis.c test_cpp_compilation.cpp -lm