2017-01-16 02:39:18 -08:00
|
|
|
INCLUDES = -I..
|
2017-01-16 02:53:36 -08: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 01:28:11 -08:00
|
|
|
|
2019-02-23 05:18:14 -08:00
|
|
|
#CFLAGS += -O -fsanitize=address
|
|
|
|
|
2017-01-16 03:01:40 -08:00
|
|
|
all:
|
2018-04-27 04:47:03 -07:00
|
|
|
$(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-11 16:42:27 -07:00
|
|
|
$(CC) $(INCLUDES) $(CPPFLAGS) -std=c++0x test_cpp_compilation.cpp -lm -lstdc++
|
2019-02-24 04:37:37 -08:00
|
|
|
$(CC) $(INCLUDES) $(CFLAGS) -DIWT_TEST image_write_test.c -lm -o image_write_test
|