diff -r c9b02747cfc5 -r cc204fc56c9c src/Makefile --- a/src/Makefile Sat Nov 02 13:38:51 2024 +0100 +++ b/src/Makefile Sat Nov 02 13:48:53 2024 +0100 @@ -25,7 +25,7 @@ SRC = allocator.c array_list.c buffer.c compare.c hash_key.c hash_map.c \ iterator.c linked_list.c list.c map.c mempool.c printf.c string.c tree.c \ - utils.c properties.c json.c + streams.c szmul.c properties.c json.c OBJ_EXT=.o OBJ=$(SRC:%.c=$(build_dir)/%$(OBJ_EXT)) @@ -137,12 +137,16 @@ @echo "Compiling $<" $(CC) -o $@ $(CFLAGS) -c $< +$(build_dir)/streams$(OBJ_EXT): streams.c cx/streams.h cx/common.h + @echo "Compiling $<" + $(CC) -o $@ $(CFLAGS) -c $< + $(build_dir)/string$(OBJ_EXT): string.c cx/string.h cx/common.h \ cx/allocator.h @echo "Compiling $<" $(CC) -o $@ $(CFLAGS) -c $< -$(build_dir)/szmul$(OBJ_EXT): szmul.c +$(build_dir)/szmul$(OBJ_EXT): szmul.c cx/common.h @echo "Compiling $<" $(CC) -o $@ $(CFLAGS) -c $< @@ -151,7 +155,3 @@ @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 $< -