stb/tests/Makefile

11 lines
546 B
Makefile
Raw Normal View History

2017-01-16 13:39:18 +03:00
INCLUDES = -I..
2017-01-16 13:53:36 +03: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 12:28:11 +03:00
#CFLAGS += -O -fsanitize=address
2017-01-16 14:01:40 +03:00
all:
$(CC) $(INCLUDES) $(CFLAGS) ../stb_vorbis.c test_c_compilation.c test_c_lexer.c test_dxt.c test_easyfont.c test_image.c test_image_write.c test_perlin.c test_sprintf.c test_truetype.c test_voxel.c -lm
2019-08-12 02:42:27 +03:00
$(CC) $(INCLUDES) $(CPPFLAGS) -std=c++0x test_cpp_compilation.cpp -lm -lstdc++
$(CC) $(INCLUDES) $(CFLAGS) -DIWT_TEST image_write_test.c -lm -o image_write_test