stb/tests/Makefile

12 lines
471 B
Makefile
Raw Normal View History

2017-01-16 05:39:18 -05:00
INCLUDES = -I..
2017-01-16 05:53:36 -05:00
CFLAGS = -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -DSTB_DIVIDE_TEST
CPPFLAGS = -Wno-write-strings -DSTB_DIVIDE_TEST
2017-01-16 04:28:11 -05:00
2017-01-16 04:09:50 -05:00
32:
2017-01-16 05:53:36 -05:00
$(CC) -m32 $(INCLUDES) $(CFLAGS) ../stb_vorbis.c test_c_compilation.c -lm
$(CC) -m32 $(INCLUDES) $(CPPFLAGS) ../stb_vorbis.c test_cpp_compilation.cpp -lm
2017-01-16 04:09:50 -05:00
64:
2017-01-16 05:53:36 -05:00
$(CC) -m64 $(INCLUDES) $(CFLAGS) ../stb_vorbis.c test_c_compilation.c -lm
$(CC) -m64 $(INCLUDES) $(CPPFLAGS) ../stb_vorbis.c test_cpp_compilation.cpp -lm