tests/Makefile

changeset 768
0e1cf2cd500e
parent 767
d31f4d4075dc
child 770
ed710122af44
     1.1 --- a/tests/Makefile	Wed Dec 20 17:57:18 2023 +0100
     1.2 +++ b/tests/Makefile	Wed Dec 20 18:13:30 2023 +0100
     1.3 @@ -27,7 +27,7 @@
     1.4  
     1.5  TEST_DIR=$(build_dir)/tests
     1.6  
     1.7 -SRC = test_utils.c ucxtest.c
     1.8 +SRC = test_utils.c test_hash_key.c ucxtest.c
     1.9  
    1.10  OBJ_EXT=.o
    1.11  OBJ=$(SRC:%.c=$(TEST_DIR)/%$(OBJ_EXT))
    1.12 @@ -45,6 +45,12 @@
    1.13  
    1.14  FORCE:
    1.15  
    1.16 +$(TEST_DIR)/test_hash_key$(OBJ_EXT): test_hash_key.c ../src/cx/test.h \
    1.17 + ../src/cx/hash_key.h ../src/cx/common.h ../src/cx/string.h \
    1.18 + ../src/cx/allocator.h
    1.19 +	@echo "Compiling $<"
    1.20 +	$(CC) -o $@ $(CFLAGS) -c $<
    1.21 +
    1.22  $(TEST_DIR)/test_map_generics$(OBJ_EXT): test_map_generics.c \
    1.23   test_map_generics.h ../src/cx/map.h ../src/cx/common.h \
    1.24   ../src/cx/collection.h ../src/cx/allocator.h ../src/cx/iterator.h \

mercurial