diff -r b34ff44e6433 -r 9b2f5661bebd tests/Makefile --- a/tests/Makefile Mon Jan 01 15:33:20 2024 +0100 +++ b/tests/Makefile Mon Jan 01 16:42:37 2024 +0100 @@ -28,8 +28,8 @@ TEST_DIR=$(build_dir)/tests SRC = util_allocator.c test_utils.c test_hash_key.c test_allocator.c \ - test_compare.c \ - test_string.c test_printf.c test_mempool.c test_hash_map.c ucxtest.c + test_compare.c test_string.c test_buffer.c \ + test_printf.c test_mempool.c test_hash_map.c ucxtest.c OBJ_EXT=.o OBJ=$(SRC:%.c=$(TEST_DIR)/%$(OBJ_EXT)) @@ -52,6 +52,11 @@ @echo "Compiling $<" $(CC) -o $@ $(CFLAGS) -c $< +$(TEST_DIR)/test_buffer$(OBJ_EXT): test_buffer.c ../src/cx/test.h \ + ../src/cx/buffer.h ../src/cx/common.h ../src/cx/allocator.h + @echo "Compiling $<" + $(CC) -o $@ $(CFLAGS) -c $< + $(TEST_DIR)/test_compare$(OBJ_EXT): test_compare.c ../src/cx/test.h \ ../src/cx/compare.h ../src/cx/common.h @echo "Compiling $<"