1.1 --- a/tests/Makefile Sat Jan 20 16:02:04 2024 +0100 1.2 +++ b/tests/Makefile Mon Jan 22 19:34:38 2024 +0100 1.3 @@ -28,7 +28,7 @@ 1.4 TEST_DIR=$(build_dir)/tests 1.5 1.6 SRC = util_allocator.c test_utils.c test_hash_key.c test_allocator.c \ 1.7 - test_compare.c test_string.c test_buffer.c test_list.c \ 1.8 + test_compare.c test_string.c test_buffer.c test_list.c test_tree.c \ 1.9 test_printf.c test_mempool.c test_hash_map.c ucxtest.c 1.10 1.11 OBJ_EXT=.o 1.12 @@ -79,8 +79,9 @@ 1.13 1.14 $(TEST_DIR)/test_list$(OBJ_EXT): test_list.c ../src/cx/test.h \ 1.15 util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \ 1.16 - ../src/cx/array_list.h ../src/cx/list.h ../src/cx/collection.h \ 1.17 - ../src/cx/allocator.h ../src/cx/iterator.h ../src/cx/linked_list.h 1.18 + ../src/cx/compare.h ../src/cx/utils.h ../src/cx/array_list.h \ 1.19 + ../src/cx/list.h ../src/cx/collection.h ../src/cx/allocator.h \ 1.20 + ../src/cx/iterator.h ../src/cx/linked_list.h 1.21 @echo "Compiling $<" 1.22 $(CC) -o $@ $(CFLAGS) -c $< 1.23 1.24 @@ -103,6 +104,11 @@ 1.25 @echo "Compiling $<" 1.26 $(CC) -o $@ $(CFLAGS) -c $< 1.27 1.28 +$(TEST_DIR)/test_tree$(OBJ_EXT): test_tree.c ../src/cx/tree.h \ 1.29 + ../src/cx/common.h ../src/cx/test.h 1.30 + @echo "Compiling $<" 1.31 + $(CC) -o $@ $(CFLAGS) -c $< 1.32 + 1.33 $(TEST_DIR)/test_utils$(OBJ_EXT): test_utils.c ../src/cx/test.h \ 1.34 ../src/cx/utils.h ../src/cx/common.h ../src/cx/buffer.h \ 1.35 ../src/cx/allocator.h ../src/szmul.c