| 22 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
22 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 23 |
23 |
| 24 include ../config.mk |
24 include ../config.mk |
| 25 |
25 |
| 26 SRC = allocator.c array_list.c buffer.c compare.c hash_key.c hash_map.c \ |
26 SRC = allocator.c array_list.c buffer.c compare.c hash_key.c hash_map.c \ |
| 27 iterator.c linked_list.c list.c map.c mempool.c printf.c string.c tree.c \ |
27 iterator.c linked_list.c list.c map.c kv_list.c tree.c \ |
| 28 streams.c szmul.c properties.c json.c |
28 mempool.c printf.c string.c streams.c szmul.c properties.c json.c |
| 29 |
29 |
| 30 OBJ_EXT=.o |
30 OBJ_EXT=.o |
| 31 OBJ=$(SRC:%.c=$(build_dir)/%$(OBJ_EXT)) |
31 OBJ=$(SRC:%.c=$(build_dir)/%$(OBJ_EXT)) |
| 32 |
32 |
| 33 static: $(build_dir)/libucx_static$(STLIB_EXT) |
33 static: $(build_dir)/libucx_static$(STLIB_EXT) |
| 107 cx/string.h cx/buffer.h cx/array_list.h cx/list.h cx/collection.h \ |
107 cx/string.h cx/buffer.h cx/array_list.h cx/list.h cx/collection.h \ |
| 108 cx/iterator.h cx/compare.h |
108 cx/iterator.h cx/compare.h |
| 109 @echo "Compiling $<" |
109 @echo "Compiling $<" |
| 110 $(CC) -o $@ $(CFLAGS) -c $< |
110 $(CC) -o $@ $(CFLAGS) -c $< |
| 111 |
111 |
| |
112 $(build_dir)/kv_list$(OBJ_EXT): kv_list.c cx/kv_list.h cx/common.h \ |
| |
113 cx/list.h cx/collection.h cx/allocator.h cx/iterator.h cx/compare.h \ |
| |
114 cx/map.h cx/string.h cx/hash_key.h |
| |
115 @echo "Compiling $<" |
| |
116 $(CC) -o $@ $(CFLAGS) -c $< |
| |
117 |
| 112 $(build_dir)/linked_list$(OBJ_EXT): linked_list.c cx/linked_list.h \ |
118 $(build_dir)/linked_list$(OBJ_EXT): linked_list.c cx/linked_list.h \ |
| 113 cx/common.h cx/list.h cx/collection.h cx/allocator.h cx/iterator.h \ |
119 cx/common.h cx/list.h cx/collection.h cx/allocator.h cx/iterator.h \ |
| 114 cx/compare.h cx/compare.h |
120 cx/compare.h cx/compare.h |
| 115 @echo "Compiling $<" |
121 @echo "Compiling $<" |
| 116 $(CC) -o $@ $(CFLAGS) -c $< |
122 $(CC) -o $@ $(CFLAGS) -c $< |