--- a/tests/Makefile Wed Dec 27 14:54:04 2023 +0100 +++ b/tests/Makefile Wed Dec 27 16:04:38 2023 +0100 @@ -27,7 +27,7 @@ TEST_DIR=$(build_dir)/tests -SRC = test_utils.c test_hash_key.c ucxtest.c +SRC = util_allocator.c test_utils.c test_hash_key.c ucxtest.c OBJ_EXT=.o OBJ=$(SRC:%.c=$(TEST_DIR)/%$(OBJ_EXT)) @@ -69,3 +69,8 @@ @echo "Compiling $<" $(CC) -o $@ $(CFLAGS) -c $< +$(TEST_DIR)/util_allocator$(OBJ_EXT): util_allocator.c util_allocator.h \ + ../src/cx/allocator.h ../src/cx/common.h ../src/cx/test.h + @echo "Compiling $<" + $(CC) -o $@ $(CFLAGS) -c $< +