diff -r b0c4750cecd8 -r 425234b05dff src/Makefile --- a/src/Makefile Sat Jan 20 16:02:04 2024 +0100 +++ b/src/Makefile Mon Jan 22 19:34:38 2024 +0100 @@ -24,7 +24,7 @@ include ../config.mk SRC = allocator.c array_list.c buffer.c compare.c hash_key.c hash_map.c \ - linked_list.c list.c map.c mempool.c printf.c string.c utils.c + linked_list.c list.c map.c tree.c mempool.c printf.c string.c utils.c OBJ_EXT=.o OBJ=$(SRC:%.c=$(build_dir)/%$(OBJ_EXT)) @@ -124,6 +124,10 @@ @echo "Compiling $<" $(CC) -o $@ $(CFLAGS) -c $< +$(build_dir)/tree$(OBJ_EXT): tree.c cx/tree.h cx/common.h + @echo "Compiling $<" + $(CC) -o $@ $(CFLAGS) -c $< + $(build_dir)/utils$(OBJ_EXT): utils.c cx/utils.h cx/common.h @echo "Compiling $<" $(CC) -o $@ $(CFLAGS) -c $<