Update makefile dependencies (#282)
Co-authored-by: Laurence Lundblade <lgl@securitytheory.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6ee40e3..3c43988 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,7 +12,7 @@
project(qcbor
DESCRIPTION "QCBOR"
LANGUAGES C
- VERSION 1.1.0
+ VERSION 2.0.0
)
set(BUILD_QCBOR_TEST "OFF" CACHE STRING "Build QCBOR test suite [OFF, LIB, APP]")
@@ -82,6 +82,8 @@
inc/qcbor/qcbor_private.h
inc/qcbor/qcbor_encode.h
inc/qcbor/qcbor_decode.h
+ inc/qcbor/qcbor_number_decode.h
+ inc/qcbor/qcbor_main_decode.h
inc/qcbor/qcbor_tag_decode.h
inc/qcbor/qcbor_spiffy_decode.h
inc/qcbor/UsefulBuf.h
diff --git a/Makefile b/Makefile
index 5e181dd..6f00615 100644
--- a/Makefile
+++ b/Makefile
@@ -58,6 +58,7 @@
inc/qcbor/qcbor_private.h \
inc/qcbor/qcbor_common.h \
inc/qcbor/qcbor_encode.h \
+ inc/qcbor/qcbor_decode.h \
inc/qcbor/qcbor_main_decode.h \
inc/qcbor/qcbor_spiffy_decode.h \
inc/qcbor/qcbor_tag_decode.h \
@@ -76,12 +77,30 @@
inc/qcbor/qcbor_common.h \
inc/qcbor/qcbor_main_decode.h \
inc/qcbor/qcbor_spiffy_decode.h \
+ inc/qcbor/qcbor_tag_decode.h \
src/decode_nesting.h \
src/ieee754.h
-src/tag_decode.o: inc/qcbor/UsefulBuf.h inc/qcbor/qcbor_private.h inc/qcbor/qcbor_common.h inc/qcbor/qcbor_decode.h inc/qcbor/qcbor_tag_decode.h
-src/number_decode.o: inc/qcbor/UsefulBuf.h inc/qcbor/qcbor_private.h inc/qcbor/qcbor_common.h inc/qcbor/qcbor_decode.h inc/qcbor/qcbor_tag_decode.h src/ieee754.h src/decode_private.h
-src/iee754.o: src/ieee754.h
+src/qcbor_tag_decode.o: inc/qcbor/UsefulBuf.h \
+ inc/qcbor/qcbor_private.h \
+ inc/qcbor/qcbor_common.h \
+ inc/qcbor/qcbor_main_decode.h \
+ inc/qcbor/qcbor_spiffy_decode.h \
+ src/decode_nesting.h \
+ inc/qcbor/qcbor_tag_decode.h
+
+src/qcbor_number_decode.o: inc/qcbor/UsefulBuf.h \
+ inc/qcbor/qcbor_private.h \
+ inc/qcbor/qcbor_common.h \
+ inc/qcbor/qcbor_main_decode.h \
+ inc/qcbor/qcbor_tag_decode.h \
+ inc/qcbor/qcbor_spiffy_decode.h \
+ inc/qcbor/qcbor_number_decode.h \
+ src/ieee754.h
+
+src/iee754.o: src/ieee754.h \
+ inc/qcbor/qcbor_common.h
+
src/qcbor_err_to_str.o: inc/qcbor/qcbor_common.h
example.o: $(PUBLIC_INTERFACE)