tests/Makefile

changeset 850
b2bc48c2b251
parent 846
71f4e0a13bb0
child 854
fe0d69d72bcd
     1.1 --- a/tests/Makefile	Fri Apr 12 21:48:12 2024 +0200
     1.2 +++ b/tests/Makefile	Thu May 23 15:05:24 2024 +0200
     1.3 @@ -28,8 +28,9 @@
     1.4  TEST_DIR=$(build_dir)/tests
     1.5  
     1.6  SRC = util_allocator.c test_utils.c test_hash_key.c test_allocator.c \
     1.7 -	test_compare.c test_string.c test_buffer.c test_list.c test_tree.c \
     1.8 -	test_printf.c test_mempool.c test_hash_map.c ucxtest.c
     1.9 +	test_compare.c test_string.c test_buffer.c test_iterator.c \
    1.10 +	test_list.c test_tree.c test_hash_map.c \
    1.11 +	test_printf.c test_mempool.c ucxtest.c
    1.12  
    1.13  OBJ_EXT=.o
    1.14  OBJ=$(SRC:%.c=$(TEST_DIR)/%$(OBJ_EXT))
    1.15 @@ -77,6 +78,11 @@
    1.16  	@echo "Compiling $<"
    1.17  	$(CC) -o $@ $(CFLAGS) -c $<
    1.18  
    1.19 +$(TEST_DIR)/test_iterator$(OBJ_EXT): test_iterator.c ../src/cx/test.h \
    1.20 + ../src/cx/iterator.h ../src/cx/common.h
    1.21 +	@echo "Compiling $<"
    1.22 +	$(CC) -o $@ $(CFLAGS) -c $<
    1.23 +
    1.24  $(TEST_DIR)/test_list$(OBJ_EXT): test_list.c ../src/cx/test.h \
    1.25   util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \
    1.26   ../src/cx/compare.h ../src/cx/utils.h ../src/cx/array_list.h \

mercurial