3 TINYCBOR_HEADERS = src\cbor.h src\cborjson.h
5 src\cborerrorstrings.c \
7 src\cborencoder_close_container_checked.c \
11 src\cborerrorstrings.obj \
13 src\cborencoder_close_container_checked.obj \
18 check: tests\Makefile lib\tinycbor.lib
19 cd tests & $(MAKE) check
21 cd tests & set TESTARGS=-silent & $(MAKE) -s check
22 tests\Makefile: tests\tests.pro
25 lib\tinycbor.lib: $(TINYCBOR_OBJS)
26 -if not exist lib\NUL md lib
27 lib -nologo /out:$@ $**
33 if exist tests\Makefile (cd tests & $(MAKE) clean)
35 if exist tests\Makefile (cd tests & $(MAKE) distclean)
38 $(CC) -nologo $(CFLAGS) -Isrc -DTINYCBOR_VERSION="" -c -Fo$@ $<