tests/Makefile

changeset 787
d0f02310aa47
parent 785
bb18daa62d5f
child 789
9b2f5661bebd
--- a/tests/Makefile	Sun Dec 31 14:29:46 2023 +0100
+++ b/tests/Makefile	Sun Dec 31 15:02:11 2023 +0100
@@ -28,6 +28,7 @@
 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
 
 OBJ_EXT=.o
@@ -51,6 +52,11 @@
 	@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 $<"
+	$(CC) -o $@ $(CFLAGS) -c $<
+
 $(TEST_DIR)/test_hash_key$(OBJ_EXT): test_hash_key.c ../src/cx/test.h \
  ../src/cx/hash_key.h ../src/cx/common.h ../src/cx/string.h \
  ../src/cx/allocator.h

mercurial