tests/Makefile

changeset 770
ed710122af44
parent 768
0e1cf2cd500e
child 773
bbf2f18b3818
     1.1 --- a/tests/Makefile	Wed Dec 27 14:54:04 2023 +0100
     1.2 +++ b/tests/Makefile	Wed Dec 27 16:04:38 2023 +0100
     1.3 @@ -27,7 +27,7 @@
     1.4  
     1.5  TEST_DIR=$(build_dir)/tests
     1.6  
     1.7 -SRC = test_utils.c test_hash_key.c ucxtest.c
     1.8 +SRC = util_allocator.c test_utils.c test_hash_key.c ucxtest.c
     1.9  
    1.10  OBJ_EXT=.o
    1.11  OBJ=$(SRC:%.c=$(TEST_DIR)/%$(OBJ_EXT))
    1.12 @@ -69,3 +69,8 @@
    1.13  	@echo "Compiling $<"
    1.14  	$(CC) -o $@ $(CFLAGS) -c $<
    1.15  
    1.16 +$(TEST_DIR)/util_allocator$(OBJ_EXT): util_allocator.c util_allocator.h \
    1.17 + ../src/cx/allocator.h ../src/cx/common.h ../src/cx/test.h
    1.18 +	@echo "Compiling $<"
    1.19 +	$(CC) -o $@ $(CFLAGS) -c $<
    1.20 +

mercurial