tests/Makefile

changeset 789
9b2f5661bebd
parent 787
d0f02310aa47
child 798
7644da6e2d35
     1.1 --- a/tests/Makefile	Mon Jan 01 15:33:20 2024 +0100
     1.2 +++ b/tests/Makefile	Mon Jan 01 16:42:37 2024 +0100
     1.3 @@ -28,8 +28,8 @@
     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 \
     1.8 -	test_string.c test_printf.c test_mempool.c test_hash_map.c ucxtest.c
     1.9 +	test_compare.c test_string.c test_buffer.c \
    1.10 +	test_printf.c test_mempool.c test_hash_map.c ucxtest.c
    1.11  
    1.12  OBJ_EXT=.o
    1.13  OBJ=$(SRC:%.c=$(TEST_DIR)/%$(OBJ_EXT))
    1.14 @@ -52,6 +52,11 @@
    1.15  	@echo "Compiling $<"
    1.16  	$(CC) -o $@ $(CFLAGS) -c $<
    1.17  
    1.18 +$(TEST_DIR)/test_buffer$(OBJ_EXT): test_buffer.c ../src/cx/test.h \
    1.19 + ../src/cx/buffer.h ../src/cx/common.h ../src/cx/allocator.h
    1.20 +	@echo "Compiling $<"
    1.21 +	$(CC) -o $@ $(CFLAGS) -c $<
    1.22 +
    1.23  $(TEST_DIR)/test_compare$(OBJ_EXT): test_compare.c ../src/cx/test.h \
    1.24   ../src/cx/compare.h ../src/cx/common.h
    1.25  	@echo "Compiling $<"

mercurial