src/Makefile

changeset 854
fe0d69d72bcd
parent 850
b2bc48c2b251
child 899
303a981e6834
equal deleted inserted replaced
853:d4baf4dd55c3 854:fe0d69d72bcd
65 $(build_dir)/allocator$(OBJ_EXT): allocator.c cx/allocator.h cx/common.h 65 $(build_dir)/allocator$(OBJ_EXT): allocator.c cx/allocator.h cx/common.h
66 @echo "Compiling $<" 66 @echo "Compiling $<"
67 $(CC) -o $@ $(CFLAGS) -c $< 67 $(CC) -o $@ $(CFLAGS) -c $<
68 68
69 $(build_dir)/array_list$(OBJ_EXT): array_list.c cx/array_list.h cx/list.h \ 69 $(build_dir)/array_list$(OBJ_EXT): array_list.c cx/array_list.h cx/list.h \
70 cx/common.h cx/collection.h cx/allocator.h cx/iterator.h cx/compare.h 70 cx/common.h cx/collection.h cx/allocator.h cx/iterator.h cx/compare.h \
71 cx/compare.h
71 @echo "Compiling $<" 72 @echo "Compiling $<"
72 $(CC) -o $@ $(CFLAGS) -c $< 73 $(CC) -o $@ $(CFLAGS) -c $<
73 74
74 $(build_dir)/buffer$(OBJ_EXT): buffer.c cx/buffer.h cx/common.h \ 75 $(build_dir)/buffer$(OBJ_EXT): buffer.c cx/buffer.h cx/common.h \
75 cx/allocator.h cx/utils.h 76 cx/allocator.h cx/utils.h
83 $(build_dir)/hash_key$(OBJ_EXT): hash_key.c cx/hash_key.h cx/common.h 84 $(build_dir)/hash_key$(OBJ_EXT): hash_key.c cx/hash_key.h cx/common.h
84 @echo "Compiling $<" 85 @echo "Compiling $<"
85 $(CC) -o $@ $(CFLAGS) -c $< 86 $(CC) -o $@ $(CFLAGS) -c $<
86 87
87 $(build_dir)/hash_map$(OBJ_EXT): hash_map.c cx/hash_map.h cx/map.h \ 88 $(build_dir)/hash_map$(OBJ_EXT): hash_map.c cx/hash_map.h cx/map.h \
88 cx/common.h cx/collection.h cx/allocator.h cx/iterator.h cx/string.h \ 89 cx/common.h cx/collection.h cx/allocator.h cx/iterator.h cx/compare.h \
89 cx/hash_key.h cx/utils.h 90 cx/string.h cx/hash_key.h cx/utils.h
90 @echo "Compiling $<" 91 @echo "Compiling $<"
91 $(CC) -o $@ $(CFLAGS) -c $< 92 $(CC) -o $@ $(CFLAGS) -c $<
92 93
93 $(build_dir)/iterator$(OBJ_EXT): iterator.c cx/iterator.h cx/common.h 94 $(build_dir)/iterator$(OBJ_EXT): iterator.c cx/iterator.h cx/common.h
94 @echo "Compiling $<" 95 @echo "Compiling $<"
95 $(CC) -o $@ $(CFLAGS) -c $< 96 $(CC) -o $@ $(CFLAGS) -c $<
96 97
97 $(build_dir)/linked_list$(OBJ_EXT): linked_list.c cx/linked_list.h \ 98 $(build_dir)/linked_list$(OBJ_EXT): linked_list.c cx/linked_list.h \
98 cx/common.h cx/list.h cx/collection.h cx/allocator.h cx/iterator.h \ 99 cx/common.h cx/list.h cx/collection.h cx/allocator.h cx/iterator.h \
99 cx/utils.h cx/compare.h 100 cx/compare.h cx/utils.h cx/compare.h
100 @echo "Compiling $<" 101 @echo "Compiling $<"
101 $(CC) -o $@ $(CFLAGS) -c $< 102 $(CC) -o $@ $(CFLAGS) -c $<
102 103
103 $(build_dir)/list$(OBJ_EXT): list.c cx/list.h cx/common.h cx/collection.h \ 104 $(build_dir)/list$(OBJ_EXT): list.c cx/list.h cx/common.h cx/collection.h \
104 cx/allocator.h cx/iterator.h 105 cx/allocator.h cx/iterator.h cx/compare.h
105 @echo "Compiling $<" 106 @echo "Compiling $<"
106 $(CC) -o $@ $(CFLAGS) -c $< 107 $(CC) -o $@ $(CFLAGS) -c $<
107 108
108 $(build_dir)/map$(OBJ_EXT): map.c cx/map.h cx/common.h cx/collection.h \ 109 $(build_dir)/map$(OBJ_EXT): map.c cx/map.h cx/common.h cx/collection.h \
109 cx/allocator.h cx/iterator.h cx/string.h cx/hash_key.h 110 cx/allocator.h cx/iterator.h cx/compare.h cx/string.h cx/hash_key.h
110 @echo "Compiling $<" 111 @echo "Compiling $<"
111 $(CC) -o $@ $(CFLAGS) -c $< 112 $(CC) -o $@ $(CFLAGS) -c $<
112 113
113 $(build_dir)/mempool$(OBJ_EXT): mempool.c cx/mempool.h cx/common.h \ 114 $(build_dir)/mempool$(OBJ_EXT): mempool.c cx/mempool.h cx/common.h \
114 cx/allocator.h cx/utils.h 115 cx/allocator.h cx/utils.h
128 $(build_dir)/szmul$(OBJ_EXT): szmul.c 129 $(build_dir)/szmul$(OBJ_EXT): szmul.c
129 @echo "Compiling $<" 130 @echo "Compiling $<"
130 $(CC) -o $@ $(CFLAGS) -c $< 131 $(CC) -o $@ $(CFLAGS) -c $<
131 132
132 $(build_dir)/tree$(OBJ_EXT): tree.c cx/tree.h cx/common.h cx/iterator.h \ 133 $(build_dir)/tree$(OBJ_EXT): tree.c cx/tree.h cx/common.h cx/iterator.h \
133 cx/array_list.h cx/list.h cx/collection.h cx/allocator.h 134 cx/array_list.h cx/list.h cx/collection.h cx/allocator.h cx/compare.h
134 @echo "Compiling $<" 135 @echo "Compiling $<"
135 $(CC) -o $@ $(CFLAGS) -c $< 136 $(CC) -o $@ $(CFLAGS) -c $<
136 137
137 $(build_dir)/utils$(OBJ_EXT): utils.c cx/utils.h cx/common.h 138 $(build_dir)/utils$(OBJ_EXT): utils.c cx/utils.h cx/common.h
138 @echo "Compiling $<" 139 @echo "Compiling $<"

mercurial