--- a/tests/Makefile Wed Dec 20 17:57:18 2023 +0100 +++ b/tests/Makefile Wed Dec 20 18:13:30 2023 +0100 @@ -27,7 +27,7 @@ TEST_DIR=$(build_dir)/tests -SRC = test_utils.c ucxtest.c +SRC = test_utils.c test_hash_key.c ucxtest.c OBJ_EXT=.o OBJ=$(SRC:%.c=$(TEST_DIR)/%$(OBJ_EXT)) @@ -45,6 +45,12 @@ FORCE: +$(TEST_DIR)/test_hash_key$(OBJ_EXT): test_hash_key.c ../src/cx/test.h \ + ../src/cx/hash_key.h ../src/cx/common.h ../src/cx/string.h \ + ../src/cx/allocator.h + @echo "Compiling $<" + $(CC) -o $@ $(CFLAGS) -c $< + $(TEST_DIR)/test_map_generics$(OBJ_EXT): test_map_generics.c \ test_map_generics.h ../src/cx/map.h ../src/cx/common.h \ ../src/cx/collection.h ../src/cx/allocator.h ../src/cx/iterator.h \