tests/Makefile

changeset 781
a786b0a89b37
parent 780
9965df621652
child 782
74d777455e96
     1.1 --- a/tests/Makefile	Fri Dec 29 17:27:14 2023 +0100
     1.2 +++ b/tests/Makefile	Sat Dec 30 14:11:20 2023 +0100
     1.3 @@ -28,7 +28,7 @@
     1.4  TEST_DIR=$(build_dir)/tests
     1.5  
     1.6  SRC = util_allocator.c test_utils.c test_hash_key.c test_string.c \
     1.7 -	test_printf.c ucxtest.c
     1.8 +	test_printf.c test_mempool.c ucxtest.c
     1.9  
    1.10  OBJ_EXT=.o
    1.11  OBJ=$(SRC:%.c=$(TEST_DIR)/%$(OBJ_EXT))
    1.12 @@ -60,6 +60,12 @@
    1.13  	@echo "Compiling $<"
    1.14  	$(CC) -o $@ $(CFLAGS) -c $<
    1.15  
    1.16 +$(TEST_DIR)/test_mempool$(OBJ_EXT): test_mempool.c ../src/cx/test.h \
    1.17 + util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \
    1.18 + ../src/cx/mempool.h ../src/cx/allocator.h
    1.19 +	@echo "Compiling $<"
    1.20 +	$(CC) -o $@ $(CFLAGS) -c $<
    1.21 +
    1.22  $(TEST_DIR)/test_printf$(OBJ_EXT): test_printf.c ../src/cx/test.h \
    1.23   util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \
    1.24   ../src/cx/printf.h ../src/cx/string.h ../src/cx/allocator.h \

mercurial