src/Makefile

changeset 1348
a1da355ed3b8
parent 1319
aa1f580f8f59
--- a/src/Makefile	Sun Aug 24 17:11:53 2025 +0200
+++ b/src/Makefile	Mon Aug 25 21:47:45 2025 +0200
@@ -24,8 +24,8 @@
 include ../config.mk
 
 SRC = allocator.c array_list.c buffer.c compare.c hash_key.c hash_map.c \
-  iterator.c linked_list.c list.c map.c mempool.c printf.c string.c tree.c \
-  streams.c szmul.c properties.c json.c
+  iterator.c linked_list.c list.c map.c kv_list.c tree.c \
+  mempool.c printf.c string.c streams.c szmul.c properties.c json.c
 
 OBJ_EXT=.o
 OBJ=$(SRC:%.c=$(build_dir)/%$(OBJ_EXT))
@@ -109,6 +109,12 @@
 	@echo "Compiling $<"
 	$(CC) -o $@ $(CFLAGS)  -c $<
 
+$(build_dir)/kv_list$(OBJ_EXT): kv_list.c cx/kv_list.h cx/common.h \
+ cx/list.h cx/collection.h cx/allocator.h cx/iterator.h cx/compare.h \
+ cx/map.h cx/string.h cx/hash_key.h
+	@echo "Compiling $<"
+	$(CC) -o $@ $(CFLAGS)  -c $<
+
 $(build_dir)/linked_list$(OBJ_EXT): linked_list.c cx/linked_list.h \
  cx/common.h cx/list.h cx/collection.h cx/allocator.h cx/iterator.h \
  cx/compare.h cx/compare.h

mercurial