1 Star 0 Fork 0

idrm-iot/tinycbor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile.nmake 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
CFLAGS = -W3
TINYCBOR_HEADERS = src\cbor.h src\cborjson.h
TINYCBOR_SOURCES = \
src\cborerrorstrings.c \
src\cborencoder.c \
src\cborencoder_close_container_checked.c \
src\cborencoder_float.c \
src\cborparser.c \
src\cborparser_dup_string.c \
src\cborparser_float.c \
src\cborpretty.c \
src\cborpretty_stdio.c \
src\cborvalidation.c
TINYCBOR_OBJS = \
src\cborerrorstrings.obj \
src\cborencoder.obj \
src\cborencoder_close_container_checked.obj \
src\cborencoder_float.obj \
src\cborparser.obj \
src\cborparser_dup_string.obj \
src\cborparser_float.obj \
src\cborpretty.obj \
src\cborpretty_stdio.obj \
src\cborvalidation.obj
all: lib\tinycbor.lib
check: tests\Makefile lib\tinycbor.lib
cd tests & $(MAKE) check
silentcheck:
cd tests & set TESTARGS=-silent & $(MAKE) -s check
tests\Makefile: tests\tests.pro
qmake -o $@ $**
lib\tinycbor.lib: $(TINYCBOR_OBJS)
-if not exist lib\NUL md lib
lib -nologo /out:$@ $**
mostlyclean:
-del $(TINYCBOR_OBJS)
clean: mostlyclean
-del lib\tinycbor.lib
if exist tests\Makefile (cd tests & $(MAKE) clean)
distclean: clean
if exist tests\Makefile (cd tests & $(MAKE) distclean)
tag:
@perl maketag.pl
{src\}.c{src\}.obj:
$(CC) -nologo $(CFLAGS) -Isrc -c -Fo$@ $<
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/idrm-iot/tinycbor.git
git@gitee.com:idrm-iot/tinycbor.git
idrm-iot
tinycbor
tinycbor
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385