代码拉取完成,页面将自动刷新
WARNS = -W -Wall -pedantic -Wno-comment -Wno-variadic-macros -Wno-unused-function
V7_FLAGS = -DCS_ENABLE_UTF8
CFLAGS = $(WARNS) -g -O3 -lm $(V7_FLAGS) $(CFLAGS_PLATFORM) $(CFLAGS_EXTRA)
TEST_CFLAGS = $(CFLAGS) -DV7_EXPOSE_PRIVATE -DV7_UNIT_TEST -DV7_FILENAMES_SUPPRESS_CFUNC_ADDR
.PHONY: examples test
all: v7 examples test
examples:
@$(MAKE) -C examples
tests/unit_test: tests/unit_test.c tests/common/test_util.c tests/common/test_util.h v7.c v7.h Makefile
$(CC) tests/unit_test.c tests/common/test_util.c $(TEST_CFLAGS) -lm -o tests/unit_test
test: tests/unit_test
cd tests; TZ=UTC ./unit_test $(TEST_FILTER)
v7: v7.c v7.h Makefile
$(CC) v7.c -o $@ -DV7_EXE $(CFLAGS) -lm
clean:
@$(MAKE) -C examples clean
rm -fr v7 v7.dSYM tests/unit_test
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。