--- a/src/Makefile Fri Apr 12 21:48:12 2024 +0200 +++ b/src/Makefile Thu May 23 15:05:24 2024 +0200 @@ -24,7 +24,8 @@ 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 tree.c mempool.c printf.c string.c utils.c + iterator.c linked_list.c list.c map.c mempool.c printf.c string.c tree.c \ + utils.c OBJ_EXT=.o OBJ=$(SRC:%.c=$(build_dir)/%$(OBJ_EXT)) @@ -89,6 +90,10 @@ @echo "Compiling $<" $(CC) -o $@ $(CFLAGS) -c $< +$(build_dir)/iterator$(OBJ_EXT): iterator.c cx/iterator.h cx/common.h + @echo "Compiling $<" + $(CC) -o $@ $(CFLAGS) -c $< + $(build_dir)/linked_list$(OBJ_EXT): linked_list.c cx/linked_list.h \ cx/common.h cx/list.h cx/collection.h cx/allocator.h cx/iterator.h \ cx/utils.h cx/compare.h