| 47 $(MKDIR) $@ |
47 $(MKDIR) $@ |
| 48 |
48 |
| 49 FORCE: |
49 FORCE: |
| 50 |
50 |
| 51 $(TEST_DIR)/test_allocator$(OBJ_EXT): test_allocator.c ../src/cx/test.h \ |
51 $(TEST_DIR)/test_allocator$(OBJ_EXT): test_allocator.c ../src/cx/test.h \ |
| 52 ../src/cx/allocator.h ../src/cx/common.h |
52 ../src/cx/common.h ../src/cx/allocator.h |
| 53 @echo "Compiling $<" |
53 @echo "Compiling $<" |
| 54 $(CC) -o $@ $(CFLAGS) -c $< |
54 $(CC) -o $@ $(CFLAGS) -c $< |
| 55 |
55 |
| 56 $(TEST_DIR)/test_buffer$(OBJ_EXT): test_buffer.c ../src/cx/test.h \ |
56 $(TEST_DIR)/test_buffer$(OBJ_EXT): test_buffer.c ../src/cx/test.h \ |
| 57 util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \ |
57 ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ |
| 58 ../src/cx/buffer.h ../src/cx/allocator.h |
58 ../src/cx/buffer.h ../src/cx/allocator.h |
| 59 @echo "Compiling $<" |
59 @echo "Compiling $<" |
| 60 $(CC) -o $@ $(CFLAGS) -c $< |
60 $(CC) -o $@ $(CFLAGS) -c $< |
| 61 |
61 |
| 62 $(TEST_DIR)/test_compare$(OBJ_EXT): test_compare.c ../src/cx/test.h \ |
62 $(TEST_DIR)/test_compare$(OBJ_EXT): test_compare.c ../src/cx/test.h \ |
| 63 ../src/cx/compare.h ../src/cx/common.h |
63 ../src/cx/common.h ../src/cx/compare.h |
| 64 @echo "Compiling $<" |
64 @echo "Compiling $<" |
| 65 $(CC) -o $@ $(CFLAGS) -c $< |
65 $(CC) -o $@ $(CFLAGS) -c $< |
| 66 |
66 |
| 67 $(TEST_DIR)/test_hash_key$(OBJ_EXT): test_hash_key.c ../src/cx/test.h \ |
67 $(TEST_DIR)/test_hash_key$(OBJ_EXT): test_hash_key.c ../src/cx/test.h \ |
| 68 ../src/cx/hash_key.h ../src/cx/common.h ../src/cx/string.h \ |
68 ../src/cx/common.h ../src/cx/hash_key.h ../src/cx/string.h \ |
| 69 ../src/cx/allocator.h |
69 ../src/cx/allocator.h |
| 70 @echo "Compiling $<" |
70 @echo "Compiling $<" |
| 71 $(CC) -o $@ $(CFLAGS) -c $< |
71 $(CC) -o $@ $(CFLAGS) -c $< |
| 72 |
72 |
| 73 $(TEST_DIR)/test_hash_map$(OBJ_EXT): test_hash_map.c ../src/cx/test.h \ |
73 $(TEST_DIR)/test_hash_map$(OBJ_EXT): test_hash_map.c ../src/cx/test.h \ |
| 74 util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \ |
74 ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ |
| 75 ../src/cx/hash_map.h ../src/cx/map.h ../src/cx/collection.h \ |
75 ../src/cx/hash_map.h ../src/cx/map.h ../src/cx/collection.h \ |
| 76 ../src/cx/allocator.h ../src/cx/iterator.h ../src/cx/compare.h \ |
76 ../src/cx/allocator.h ../src/cx/iterator.h ../src/cx/compare.h \ |
| 77 ../src/cx/string.h ../src/cx/hash_key.h |
77 ../src/cx/string.h ../src/cx/hash_key.h |
| 78 @echo "Compiling $<" |
78 @echo "Compiling $<" |
| 79 $(CC) -o $@ $(CFLAGS) -c $< |
79 $(CC) -o $@ $(CFLAGS) -c $< |
| 80 |
80 |
| 81 $(TEST_DIR)/test_iterator$(OBJ_EXT): test_iterator.c ../src/cx/test.h \ |
81 $(TEST_DIR)/test_iterator$(OBJ_EXT): test_iterator.c ../src/cx/test.h \ |
| 82 ../src/cx/iterator.h ../src/cx/common.h |
82 ../src/cx/common.h ../src/cx/iterator.h |
| 83 @echo "Compiling $<" |
83 @echo "Compiling $<" |
| 84 $(CC) -o $@ $(CFLAGS) -c $< |
84 $(CC) -o $@ $(CFLAGS) -c $< |
| 85 |
85 |
| 86 $(TEST_DIR)/test_json$(OBJ_EXT): test_json.c ../src/cx/test.h \ |
86 $(TEST_DIR)/test_json$(OBJ_EXT): test_json.c ../src/cx/test.h \ |
| 87 ../src/cx/json.h ../src/cx/common.h ../src/cx/string.h \ |
87 ../src/cx/common.h ../src/cx/json.h ../src/cx/string.h \ |
| 88 ../src/cx/allocator.h |
88 ../src/cx/allocator.h |
| 89 @echo "Compiling $<" |
89 @echo "Compiling $<" |
| 90 $(CC) -o $@ $(CFLAGS) -c $< |
90 $(CC) -o $@ $(CFLAGS) -c $< |
| 91 |
91 |
| 92 $(TEST_DIR)/test_list$(OBJ_EXT): test_list.c ../src/cx/test.h \ |
92 $(TEST_DIR)/test_list$(OBJ_EXT): test_list.c ../src/cx/test.h \ |
| 93 util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \ |
93 ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ |
| 94 ../src/cx/compare.h ../src/cx/utils.h ../src/cx/array_list.h \ |
94 ../src/cx/compare.h ../src/cx/utils.h ../src/cx/array_list.h \ |
| 95 ../src/cx/list.h ../src/cx/collection.h ../src/cx/allocator.h \ |
95 ../src/cx/list.h ../src/cx/collection.h ../src/cx/allocator.h \ |
| 96 ../src/cx/iterator.h ../src/cx/compare.h ../src/cx/linked_list.h |
96 ../src/cx/iterator.h ../src/cx/compare.h ../src/cx/linked_list.h |
| 97 @echo "Compiling $<" |
97 @echo "Compiling $<" |
| 98 $(CC) -o $@ $(CFLAGS) -c $< |
98 $(CC) -o $@ $(CFLAGS) -c $< |
| 99 |
99 |
| 100 $(TEST_DIR)/test_mempool$(OBJ_EXT): test_mempool.c ../src/cx/test.h \ |
100 $(TEST_DIR)/test_mempool$(OBJ_EXT): test_mempool.c ../src/cx/test.h \ |
| 101 util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \ |
101 ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ |
| 102 ../src/cx/mempool.h ../src/cx/allocator.h |
102 ../src/cx/mempool.h ../src/cx/allocator.h |
| 103 @echo "Compiling $<" |
103 @echo "Compiling $<" |
| 104 $(CC) -o $@ $(CFLAGS) -c $< |
104 $(CC) -o $@ $(CFLAGS) -c $< |
| 105 |
105 |
| 106 $(TEST_DIR)/test_printf$(OBJ_EXT): test_printf.c ../src/cx/test.h \ |
106 $(TEST_DIR)/test_printf$(OBJ_EXT): test_printf.c ../src/cx/test.h \ |
| 107 util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \ |
107 ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ |
| 108 ../src/cx/printf.h ../src/cx/string.h ../src/cx/allocator.h \ |
108 ../src/cx/printf.h ../src/cx/string.h ../src/cx/allocator.h \ |
| 109 ../src/cx/buffer.h |
109 ../src/cx/buffer.h |
| 110 @echo "Compiling $<" |
110 @echo "Compiling $<" |
| 111 $(CC) -o $@ $(CFLAGS) -c $< |
111 $(CC) -o $@ $(CFLAGS) -c $< |
| 112 |
112 |
| 113 $(TEST_DIR)/test_properties$(OBJ_EXT): test_properties.c ../src/cx/test.h \ |
113 $(TEST_DIR)/test_properties$(OBJ_EXT): test_properties.c ../src/cx/test.h \ |
| 114 util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \ |
114 ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ |
| 115 ../src/cx/properties.h ../src/cx/string.h ../src/cx/allocator.h \ |
115 ../src/cx/properties.h ../src/cx/string.h ../src/cx/allocator.h \ |
| 116 ../src/cx/map.h ../src/cx/collection.h ../src/cx/iterator.h \ |
116 ../src/cx/map.h ../src/cx/collection.h ../src/cx/iterator.h \ |
| 117 ../src/cx/compare.h ../src/cx/hash_key.h ../src/cx/array_list.h \ |
117 ../src/cx/compare.h ../src/cx/hash_key.h ../src/cx/array_list.h \ |
| 118 ../src/cx/list.h ../src/cx/hash_map.h |
118 ../src/cx/list.h ../src/cx/hash_map.h |
| 119 @echo "Compiling $<" |
119 @echo "Compiling $<" |
| 120 $(CC) -o $@ $(CFLAGS) -c $< |
120 $(CC) -o $@ $(CFLAGS) -c $< |
| 121 |
121 |
| 122 $(TEST_DIR)/test_string$(OBJ_EXT): test_string.c ../src/cx/test.h \ |
122 $(TEST_DIR)/test_string$(OBJ_EXT): test_string.c ../src/cx/test.h \ |
| 123 util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \ |
123 ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ |
| 124 ../src/cx/string.h ../src/cx/allocator.h |
124 ../src/cx/string.h ../src/cx/allocator.h |
| 125 @echo "Compiling $<" |
125 @echo "Compiling $<" |
| 126 $(CC) -o $@ $(CFLAGS) -c $< |
126 $(CC) -o $@ $(CFLAGS) -c $< |
| 127 |
127 |
| 128 $(TEST_DIR)/test_tree$(OBJ_EXT): test_tree.c ../src/cx/tree.h \ |
128 $(TEST_DIR)/test_tree$(OBJ_EXT): test_tree.c ../src/cx/tree.h \ |