--- a/ucx/Makefile Sun May 23 09:44:43 2021 +0200 +++ b/ucx/Makefile Sat Jan 04 16:38:48 2025 +0100 @@ -30,24 +30,25 @@ include ../config.mk # list of source files -SRC = utils.c +SRC = allocator.c +SRC += array_list.c +SRC += mempool.c +SRC += buffer.c +SRC += compare.c +SRC += hash_key.c +SRC += hash_map.c +SRC += linked_list.c SRC += list.c SRC += map.c -SRC += avl.c -SRC += properties.c -SRC += mempool.c +SRC += printf.c SRC += string.c -SRC += test.c -SRC += allocator.c -SRC += logging.c -SRC += buffer.c -SRC += stack.c -SRC += ucx.c -SRC += array.c +SRC += utils.c +SRC += tree.c +SRC += iterator.c -OBJ = $(SRC:%.c=../build/ucx/%.$(OBJ_EXT)) +OBJ = $(SRC:%.c=../build/ucx/%$(OBJ_EXT)) -UCX_LIB = ../build/lib/libucx.$(LIB_EXT) +UCX_LIB = ../build/lib/libucx$(LIB_EXT) all: ../build/ucx $(UCX_LIB) @@ -57,6 +58,6 @@ ../build/ucx: mkdir -p ../build/ucx -../build/ucx/%.$(OBJ_EXT): %.c +../build/ucx/%$(OBJ_EXT): %.c $(CC) $(CFLAGS) -o $@ -c $<