src/Makefile

changeset 988
15b3ca7ee33f
parent 971
cc204fc56c9c
child 1000
1aecddf7e209
equal deleted inserted replaced
987:53e22f112b11 988:15b3ca7ee33f
66 66
67 FORCE: 67 FORCE:
68 68
69 $(build_dir)/allocator$(OBJ_EXT): allocator.c cx/allocator.h cx/common.h 69 $(build_dir)/allocator$(OBJ_EXT): allocator.c cx/allocator.h cx/common.h
70 @echo "Compiling $<" 70 @echo "Compiling $<"
71 $(CC) -o $@ $(CFLAGS) -c $< 71 $(CC) -o $@ $(CFLAGS) -c $<
72 72
73 $(build_dir)/array_list$(OBJ_EXT): array_list.c cx/array_list.h cx/list.h \ 73 $(build_dir)/array_list$(OBJ_EXT): array_list.c cx/array_list.h cx/list.h \
74 cx/common.h cx/collection.h cx/allocator.h cx/iterator.h cx/compare.h \ 74 cx/common.h cx/collection.h cx/allocator.h cx/iterator.h cx/compare.h \
75 cx/compare.h 75 cx/compare.h
76 @echo "Compiling $<" 76 @echo "Compiling $<"
77 $(CC) -o $@ $(CFLAGS) -c $< 77 $(CC) -o $@ $(CFLAGS) -c $<
78 78
79 $(build_dir)/buffer$(OBJ_EXT): buffer.c cx/buffer.h cx/common.h \ 79 $(build_dir)/buffer$(OBJ_EXT): buffer.c cx/buffer.h cx/common.h \
80 cx/allocator.h 80 cx/allocator.h
81 @echo "Compiling $<" 81 @echo "Compiling $<"
82 $(CC) -o $@ $(CFLAGS) -c $< 82 $(CC) -o $@ $(CFLAGS) -c $<
83 83
84 $(build_dir)/compare$(OBJ_EXT): compare.c cx/compare.h cx/common.h 84 $(build_dir)/compare$(OBJ_EXT): compare.c cx/compare.h cx/common.h
85 @echo "Compiling $<" 85 @echo "Compiling $<"
86 $(CC) -o $@ $(CFLAGS) -c $< 86 $(CC) -o $@ $(CFLAGS) -c $<
87 87
88 $(build_dir)/hash_key$(OBJ_EXT): hash_key.c cx/hash_key.h cx/common.h 88 $(build_dir)/hash_key$(OBJ_EXT): hash_key.c cx/hash_key.h cx/common.h
89 @echo "Compiling $<" 89 @echo "Compiling $<"
90 $(CC) -o $@ $(CFLAGS) -c $< 90 $(CC) -o $@ $(CFLAGS) -c $<
91 91
92 $(build_dir)/hash_map$(OBJ_EXT): hash_map.c cx/hash_map.h cx/map.h \ 92 $(build_dir)/hash_map$(OBJ_EXT): hash_map.c cx/hash_map.h cx/map.h \
93 cx/common.h cx/collection.h cx/allocator.h cx/iterator.h cx/compare.h \ 93 cx/common.h cx/collection.h cx/allocator.h cx/iterator.h cx/compare.h \
94 cx/string.h cx/hash_key.h 94 cx/string.h cx/hash_key.h
95 @echo "Compiling $<" 95 @echo "Compiling $<"
96 $(CC) -o $@ $(CFLAGS) -c $< 96 $(CC) -o $@ $(CFLAGS) -c $<
97 97
98 $(build_dir)/iterator$(OBJ_EXT): iterator.c cx/iterator.h cx/common.h 98 $(build_dir)/iterator$(OBJ_EXT): iterator.c cx/iterator.h cx/common.h
99 @echo "Compiling $<" 99 @echo "Compiling $<"
100 $(CC) -o $@ $(CFLAGS) -c $< 100 $(CC) -o $@ $(CFLAGS) -c $<
101 101
102 $(build_dir)/json$(OBJ_EXT): json.c cx/json.h cx/common.h cx/string.h \ 102 $(build_dir)/json$(OBJ_EXT): json.c cx/json.h cx/common.h cx/string.h \
103 cx/allocator.h cx/array_list.h cx/list.h cx/collection.h cx/iterator.h \ 103 cx/allocator.h cx/array_list.h cx/list.h cx/collection.h cx/iterator.h \
104 cx/compare.h 104 cx/compare.h
105 @echo "Compiling $<" 105 @echo "Compiling $<"
106 $(CC) -o $@ $(CFLAGS) -c $< 106 $(CC) -o $@ $(CFLAGS) -c $<
107 107
108 $(build_dir)/linked_list$(OBJ_EXT): linked_list.c cx/linked_list.h \ 108 $(build_dir)/linked_list$(OBJ_EXT): linked_list.c cx/linked_list.h \
109 cx/common.h cx/list.h cx/collection.h cx/allocator.h cx/iterator.h \ 109 cx/common.h cx/list.h cx/collection.h cx/allocator.h cx/iterator.h \
110 cx/compare.h cx/compare.h 110 cx/compare.h cx/compare.h
111 @echo "Compiling $<" 111 @echo "Compiling $<"
112 $(CC) -o $@ $(CFLAGS) -c $< 112 $(CC) -o $@ $(CFLAGS) -c $<
113 113
114 $(build_dir)/list$(OBJ_EXT): list.c cx/list.h cx/common.h cx/collection.h \ 114 $(build_dir)/list$(OBJ_EXT): list.c cx/list.h cx/common.h cx/collection.h \
115 cx/allocator.h cx/iterator.h cx/compare.h 115 cx/allocator.h cx/iterator.h cx/compare.h
116 @echo "Compiling $<" 116 @echo "Compiling $<"
117 $(CC) -o $@ $(CFLAGS) -c $< 117 $(CC) -o $@ $(CFLAGS) -c $<
118 118
119 $(build_dir)/map$(OBJ_EXT): map.c cx/map.h cx/common.h cx/collection.h \ 119 $(build_dir)/map$(OBJ_EXT): map.c cx/map.h cx/common.h cx/collection.h \
120 cx/allocator.h cx/iterator.h cx/compare.h cx/string.h cx/hash_key.h 120 cx/allocator.h cx/iterator.h cx/compare.h cx/string.h cx/hash_key.h
121 @echo "Compiling $<" 121 @echo "Compiling $<"
122 $(CC) -o $@ $(CFLAGS) -c $< 122 $(CC) -o $@ $(CFLAGS) -c $<
123 123
124 $(build_dir)/mempool$(OBJ_EXT): mempool.c cx/mempool.h cx/common.h \ 124 $(build_dir)/mempool$(OBJ_EXT): mempool.c cx/mempool.h cx/common.h \
125 cx/allocator.h 125 cx/allocator.h
126 @echo "Compiling $<" 126 @echo "Compiling $<"
127 $(CC) -o $@ $(CFLAGS) -c $< 127 $(CC) -o $@ $(CFLAGS) -c $<
128 128
129 $(build_dir)/printf$(OBJ_EXT): printf.c cx/printf.h cx/common.h \ 129 $(build_dir)/printf$(OBJ_EXT): printf.c cx/printf.h cx/common.h \
130 cx/string.h cx/allocator.h 130 cx/string.h cx/allocator.h
131 @echo "Compiling $<" 131 @echo "Compiling $<"
132 $(CC) -o $@ $(CFLAGS) -c $< 132 $(CC) -o $@ $(CFLAGS) -c $<
133 133
134 $(build_dir)/properties$(OBJ_EXT): properties.c cx/properties.h \ 134 $(build_dir)/properties$(OBJ_EXT): properties.c cx/properties.h \
135 cx/common.h cx/string.h cx/allocator.h cx/map.h cx/collection.h \ 135 cx/common.h cx/string.h cx/allocator.h cx/map.h cx/collection.h \
136 cx/iterator.h cx/compare.h cx/hash_key.h cx/array_list.h cx/list.h 136 cx/iterator.h cx/compare.h cx/hash_key.h cx/array_list.h cx/list.h
137 @echo "Compiling $<" 137 @echo "Compiling $<"
138 $(CC) -o $@ $(CFLAGS) -c $< 138 $(CC) -o $@ $(CFLAGS) -c $<
139 139
140 $(build_dir)/streams$(OBJ_EXT): streams.c cx/streams.h cx/common.h 140 $(build_dir)/streams$(OBJ_EXT): streams.c cx/streams.h cx/common.h
141 @echo "Compiling $<" 141 @echo "Compiling $<"
142 $(CC) -o $@ $(CFLAGS) -c $< 142 $(CC) -o $@ $(CFLAGS) -c $<
143 143
144 $(build_dir)/string$(OBJ_EXT): string.c cx/string.h cx/common.h \ 144 $(build_dir)/string$(OBJ_EXT): string.c cx/string.h cx/common.h \
145 cx/allocator.h 145 cx/allocator.h
146 @echo "Compiling $<" 146 @echo "Compiling $<"
147 $(CC) -o $@ $(CFLAGS) -c $< 147 $(CC) -o $@ $(CFLAGS) -c $<
148 148
149 $(build_dir)/szmul$(OBJ_EXT): szmul.c cx/common.h 149 $(build_dir)/szmul$(OBJ_EXT): szmul.c cx/common.h
150 @echo "Compiling $<" 150 @echo "Compiling $<"
151 $(CC) -o $@ $(CFLAGS) -c $< 151 $(CC) -o $@ $(CFLAGS) -c $<
152 152
153 $(build_dir)/tree$(OBJ_EXT): tree.c cx/tree.h cx/common.h cx/collection.h \ 153 $(build_dir)/tree$(OBJ_EXT): tree.c cx/tree.h cx/common.h cx/collection.h \
154 cx/allocator.h cx/iterator.h cx/compare.h cx/array_list.h cx/list.h 154 cx/allocator.h cx/iterator.h cx/compare.h cx/array_list.h cx/list.h
155 @echo "Compiling $<" 155 @echo "Compiling $<"
156 $(CC) -o $@ $(CFLAGS) -c $< 156 $(CC) -o $@ $(CFLAGS) -c $<
157 157

mercurial