1.1 --- a/tests/Makefile Fri Dec 29 17:17:43 2023 +0100 1.2 +++ b/tests/Makefile Fri Dec 29 17:27:14 2023 +0100 1.3 @@ -27,7 +27,8 @@ 1.4 1.5 TEST_DIR=$(build_dir)/tests 1.6 1.7 -SRC = util_allocator.c test_utils.c test_hash_key.c test_string.c ucxtest.c 1.8 +SRC = util_allocator.c test_utils.c test_hash_key.c test_string.c \ 1.9 + test_printf.c ucxtest.c 1.10 1.11 OBJ_EXT=.o 1.12 OBJ=$(SRC:%.c=$(TEST_DIR)/%$(OBJ_EXT)) 1.13 @@ -59,6 +60,13 @@ 1.14 @echo "Compiling $<" 1.15 $(CC) -o $@ $(CFLAGS) -c $< 1.16 1.17 +$(TEST_DIR)/test_printf$(OBJ_EXT): test_printf.c ../src/cx/test.h \ 1.18 + util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \ 1.19 + ../src/cx/printf.h ../src/cx/string.h ../src/cx/allocator.h \ 1.20 + ../src/cx/buffer.h 1.21 + @echo "Compiling $<" 1.22 + $(CC) -o $@ $(CFLAGS) -c $< 1.23 + 1.24 $(TEST_DIR)/test_string$(OBJ_EXT): test_string.c ../src/cx/test.h \ 1.25 util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \ 1.26 ../src/cx/string.h ../src/cx/allocator.h