--- a/tests/Makefile Sat Dec 30 15:21:16 2023 +0100 +++ b/tests/Makefile Sat Dec 30 18:48:25 2023 +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_string.c test_printf.c test_mempool.c ucxtest.c + test_string.c test_printf.c test_mempool.c test_hash_map.c ucxtest.c OBJ_EXT=.o OBJ=$(SRC:%.c=$(TEST_DIR)/%$(OBJ_EXT)) @@ -57,11 +57,11 @@ @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 \ - ../src/cx/string.h ../src/cx/hash_key.h ../src/cx/hash_map.h \ - ../src/cx/map.h +$(TEST_DIR)/test_hash_map$(OBJ_EXT): test_hash_map.c ../src/cx/test.h \ + util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \ + ../src/cx/hash_map.h ../src/cx/map.h ../src/cx/collection.h \ + ../src/cx/allocator.h ../src/cx/iterator.h ../src/cx/string.h \ + ../src/cx/hash_key.h @echo "Compiling $<" $(CC) -o $@ $(CFLAGS) -c $<