src/Makefile

changeset 962
cd418898af5c
parent 958
c9033d30a9f6
child 963
2f601274bbac
equal deleted inserted replaced
961:bc8b7c5f55fb 962:cd418898af5c
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 cx/utils.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 $<"
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/utils.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
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)/string$(OBJ_EXT): string.c cx/string.h cx/common.h \ 140 $(build_dir)/string$(OBJ_EXT): string.c cx/string.h cx/common.h \
141 cx/allocator.h cx/utils.h 141 cx/allocator.h
142 @echo "Compiling $<" 142 @echo "Compiling $<"
143 $(CC) -o $@ $(CFLAGS) -c $< 143 $(CC) -o $@ $(CFLAGS) -c $<
144 144
145 $(build_dir)/szmul$(OBJ_EXT): szmul.c 145 $(build_dir)/szmul$(OBJ_EXT): szmul.c
146 @echo "Compiling $<" 146 @echo "Compiling $<"

mercurial