Split encode source/header files into three
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3c43988..d2d950a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -38,12 +38,13 @@
 
 target_sources(qcbor
     PRIVATE
+        src/qcbor_main_encode.c
+        src/qcbor_number_encode.c
         src/ieee754.c
         src/qcbor_main_decode.c
         src/qcbor_spiffy_decode.c
         src/qcbor_tag_decode.c
         src/qcbor_number_decode.c
-        src/qcbor_encode.c
         src/qcbor_err_to_str.c
         src/UsefulBuf.c
 )