1.1 --- a/tests/Makefile Sat Dec 30 14:11:20 2023 +0100 1.2 +++ b/tests/Makefile Sat Dec 30 14:32:42 2023 +0100 1.3 @@ -27,8 +27,8 @@ 1.4 1.5 TEST_DIR=$(build_dir)/tests 1.6 1.7 -SRC = util_allocator.c test_utils.c test_hash_key.c test_string.c \ 1.8 - test_printf.c test_mempool.c ucxtest.c 1.9 +SRC = util_allocator.c test_utils.c test_hash_key.c test_allocator.c \ 1.10 + test_string.c test_printf.c test_mempool.c ucxtest.c 1.11 1.12 OBJ_EXT=.o 1.13 OBJ=$(SRC:%.c=$(TEST_DIR)/%$(OBJ_EXT)) 1.14 @@ -46,6 +46,11 @@ 1.15 1.16 FORCE: 1.17 1.18 +$(TEST_DIR)/test_allocator$(OBJ_EXT): test_allocator.c ../src/cx/test.h \ 1.19 + ../src/cx/allocator.h ../src/cx/common.h 1.20 + @echo "Compiling $<" 1.21 + $(CC) -o $@ $(CFLAGS) -c $< 1.22 + 1.23 $(TEST_DIR)/test_hash_key$(OBJ_EXT): test_hash_key.c ../src/cx/test.h \ 1.24 ../src/cx/hash_key.h ../src/cx/common.h ../src/cx/string.h \ 1.25 ../src/cx/allocator.h