1.1 --- a/src/Makefile Wed Oct 18 21:07:02 2023 +0200 1.2 +++ b/src/Makefile Thu Nov 23 23:33:09 2023 +0100 1.3 @@ -49,65 +49,72 @@ 1.4 $(SYMLINK) $(libdir)/libucx$(SHLIB_EXT).$(LIBVERSION) $(libdir)/libucx$(SHLIB_EXT).$(LIBVERSION_MAJOR) 1.5 $(SYMLINK) $(libdir)/libucx$(SHLIB_EXT).$(LIBVERSION_MAJOR) $(libdir)/libucx$(SHLIB_EXT) 1.6 1.7 +FORCE: 1.8 + 1.9 $(build_dir)/allocator$(OBJ_EXT): allocator.c cx/allocator.h cx/common.h 1.10 - echo "Compiling $<" 1.11 + @echo "Compiling $<" 1.12 $(CC) -o $@ $(CFLAGS) -c $< 1.13 1.14 $(build_dir)/array_list$(OBJ_EXT): array_list.c cx/array_list.h cx/list.h \ 1.15 cx/common.h cx/collection.h cx/allocator.h cx/iterator.h 1.16 - echo "Compiling $<" 1.17 + @echo "Compiling $<" 1.18 $(CC) -o $@ $(CFLAGS) -c $< 1.19 1.20 -$(build_dir)/buffer$(OBJ_EXT): buffer.c cx/buffer.h cx/common.h cx/allocator.h \ 1.21 - cx/utils.h 1.22 - echo "Compiling $<" 1.23 +$(build_dir)/buffer$(OBJ_EXT): buffer.c cx/buffer.h cx/common.h \ 1.24 + cx/allocator.h cx/utils.h 1.25 + @echo "Compiling $<" 1.26 $(CC) -o $@ $(CFLAGS) -c $< 1.27 1.28 $(build_dir)/compare$(OBJ_EXT): compare.c cx/compare.h cx/common.h 1.29 - echo "Compiling $<" 1.30 + @echo "Compiling $<" 1.31 $(CC) -o $@ $(CFLAGS) -c $< 1.32 1.33 $(build_dir)/hash_key$(OBJ_EXT): hash_key.c cx/hash_key.h cx/common.h 1.34 - echo "Compiling $<" 1.35 + @echo "Compiling $<" 1.36 $(CC) -o $@ $(CFLAGS) -c $< 1.37 1.38 -$(build_dir)/hash_map$(OBJ_EXT): hash_map.c cx/hash_map.h cx/map.h cx/common.h \ 1.39 - cx/collection.h cx/allocator.h cx/iterator.h cx/string.h cx/hash_key.h \ 1.40 - cx/utils.h 1.41 - echo "Compiling $<" 1.42 +$(build_dir)/hash_map$(OBJ_EXT): hash_map.c cx/hash_map.h cx/map.h \ 1.43 + cx/common.h cx/collection.h cx/allocator.h cx/iterator.h cx/string.h \ 1.44 + cx/hash_key.h cx/utils.h 1.45 + @echo "Compiling $<" 1.46 $(CC) -o $@ $(CFLAGS) -c $< 1.47 1.48 -$(build_dir)/linked_list$(OBJ_EXT): linked_list.c cx/linked_list.h cx/common.h \ 1.49 - cx/list.h cx/collection.h cx/allocator.h cx/iterator.h cx/utils.h 1.50 - echo "Compiling $<" 1.51 +$(build_dir)/linked_list$(OBJ_EXT): linked_list.c cx/linked_list.h \ 1.52 + cx/common.h cx/list.h cx/collection.h cx/allocator.h cx/iterator.h \ 1.53 + cx/utils.h 1.54 + @echo "Compiling $<" 1.55 $(CC) -o $@ $(CFLAGS) -c $< 1.56 1.57 $(build_dir)/list$(OBJ_EXT): list.c cx/list.h cx/common.h cx/collection.h \ 1.58 cx/allocator.h cx/iterator.h 1.59 - echo "Compiling $<" 1.60 + @echo "Compiling $<" 1.61 $(CC) -o $@ $(CFLAGS) -c $< 1.62 1.63 $(build_dir)/map$(OBJ_EXT): map.c cx/map.h cx/common.h cx/collection.h \ 1.64 cx/allocator.h cx/iterator.h cx/string.h cx/hash_key.h 1.65 - echo "Compiling $<" 1.66 + @echo "Compiling $<" 1.67 $(CC) -o $@ $(CFLAGS) -c $< 1.68 1.69 -$(build_dir)/mempool$(OBJ_EXT): mempool.c cx/mempool.h cx/common.h cx/allocator.h \ 1.70 - cx/utils.h 1.71 - echo "Compiling $<" 1.72 +$(build_dir)/mempool$(OBJ_EXT): mempool.c cx/mempool.h cx/common.h \ 1.73 + cx/allocator.h cx/utils.h 1.74 + @echo "Compiling $<" 1.75 $(CC) -o $@ $(CFLAGS) -c $< 1.76 1.77 -$(build_dir)/printf$(OBJ_EXT): printf.c cx/printf.h cx/common.h cx/string.h \ 1.78 - cx/allocator.h 1.79 - echo "Compiling $<" 1.80 +$(build_dir)/printf$(OBJ_EXT): printf.c cx/printf.h cx/common.h \ 1.81 + cx/string.h cx/allocator.h 1.82 + @echo "Compiling $<" 1.83 $(CC) -o $@ $(CFLAGS) -c $< 1.84 1.85 -$(build_dir)/string$(OBJ_EXT): string.c cx/string.h cx/common.h cx/allocator.h \ 1.86 - cx/utils.h 1.87 - echo "Compiling $<" 1.88 +$(build_dir)/string$(OBJ_EXT): string.c cx/string.h cx/common.h \ 1.89 + cx/allocator.h cx/utils.h 1.90 + @echo "Compiling $<" 1.91 + $(CC) -o $@ $(CFLAGS) -c $< 1.92 + 1.93 +$(build_dir)/szmul$(OBJ_EXT): szmul.c 1.94 + @echo "Compiling $<" 1.95 $(CC) -o $@ $(CFLAGS) -c $< 1.96 1.97 $(build_dir)/utils$(OBJ_EXT): utils.c cx/utils.h cx/common.h 1.98 - echo "Compiling $<" 1.99 + @echo "Compiling $<" 1.100 $(CC) -o $@ $(CFLAGS) -c $< 1.101