tests/Makefile

changeset 971
cc204fc56c9c
parent 970
c9b02747cfc5
child 988
15b3ca7ee33f
--- a/tests/Makefile	Sat Nov 02 13:38:51 2024 +0100
+++ b/tests/Makefile	Sat Nov 02 13:48:53 2024 +0100
@@ -28,13 +28,13 @@
 TEST_DIR=$(build_dir)/tests
 
 SRC = util_allocator.c \
-	test_szmul.c test_allocator.c test_utils.c \
+	test_szmul.c test_allocator.c \
 	test_compare.c \
 	test_string.c test_buffer.c \
 	test_hash_key.c test_hash_map.c \
 	test_iterator.c test_list.c test_tree.c \
 	test_properties.c test_json.c \
-	test_printf.c \
+	test_printf.c test_streams.c \
 	test_mempool.c \
 	ucxtest.c
 
@@ -126,6 +126,12 @@
 	@echo "Compiling $<"
 	$(CC) -o $@ $(CFLAGS) -c $<
 
+$(TEST_DIR)/test_streams$(OBJ_EXT): test_streams.c ../src/cx/test.h \
+ ../src/cx/common.h ../src/cx/streams.h ../src/cx/buffer.h \
+ ../src/cx/allocator.h
+	@echo "Compiling $<"
+	$(CC) -o $@ $(CFLAGS) -c $<
+
 $(TEST_DIR)/test_string$(OBJ_EXT): test_string.c ../src/cx/test.h \
  ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \
  ../src/cx/string.h ../src/cx/allocator.h
@@ -133,7 +139,7 @@
 	$(CC) -o $@ $(CFLAGS) -c $<
 
 $(TEST_DIR)/test_szmul$(OBJ_EXT): test_szmul.c ../src/cx/test.h \
- ../src/cx/common.h ../src/szmul.c
+ ../src/cx/common.h ../src/szmul.c ../src/cx/common.h
 	@echo "Compiling $<"
 	$(CC) -o $@ $(CFLAGS) -c $<
 
@@ -144,12 +150,6 @@
 	@echo "Compiling $<"
 	$(CC) -o $@ $(CFLAGS) -c $<
 
-$(TEST_DIR)/test_utils$(OBJ_EXT): test_utils.c ../src/cx/test.h \
- ../src/cx/common.h ../src/cx/utils.h ../src/cx/buffer.h \
- ../src/cx/allocator.h
-	@echo "Compiling $<"
-	$(CC) -o $@ $(CFLAGS) -c $<
-
 $(TEST_DIR)/ucxtest$(OBJ_EXT): ucxtest.c ../src/cx/common.h \
  ../src/cx/test.h ../src/cx/common.h
 	@echo "Compiling $<"

mercurial