tests/Makefile

changeset 816
425234b05dff
parent 814
5f9e07d3dd6c
child 833
5c926801f052
--- a/tests/Makefile	Sat Jan 20 16:02:04 2024 +0100
+++ b/tests/Makefile	Mon Jan 22 19:34:38 2024 +0100
@@ -28,7 +28,7 @@
 TEST_DIR=$(build_dir)/tests
 
 SRC = util_allocator.c test_utils.c test_hash_key.c test_allocator.c \
-	test_compare.c test_string.c test_buffer.c test_list.c \
+	test_compare.c test_string.c test_buffer.c test_list.c test_tree.c \
 	test_printf.c test_mempool.c test_hash_map.c ucxtest.c
 
 OBJ_EXT=.o
@@ -79,8 +79,9 @@
 
 $(TEST_DIR)/test_list$(OBJ_EXT): test_list.c ../src/cx/test.h \
  util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \
- ../src/cx/array_list.h ../src/cx/list.h ../src/cx/collection.h \
- ../src/cx/allocator.h ../src/cx/iterator.h ../src/cx/linked_list.h
+ ../src/cx/compare.h ../src/cx/utils.h ../src/cx/array_list.h \
+ ../src/cx/list.h ../src/cx/collection.h ../src/cx/allocator.h \
+ ../src/cx/iterator.h ../src/cx/linked_list.h
 	@echo "Compiling $<"
 	$(CC) -o $@ $(CFLAGS) -c $<
 
@@ -103,6 +104,11 @@
 	@echo "Compiling $<"
 	$(CC) -o $@ $(CFLAGS) -c $<
 
+$(TEST_DIR)/test_tree$(OBJ_EXT): test_tree.c ../src/cx/tree.h \
+ ../src/cx/common.h ../src/cx/test.h
+	@echo "Compiling $<"
+	$(CC) -o $@ $(CFLAGS) -c $<
+
 $(TEST_DIR)/test_utils$(OBJ_EXT): test_utils.c ../src/cx/test.h \
  ../src/cx/utils.h ../src/cx/common.h ../src/cx/buffer.h \
  ../src/cx/allocator.h ../src/szmul.c

mercurial