tests/Makefile

changeset 854
fe0d69d72bcd
parent 850
b2bc48c2b251
equal deleted inserted replaced
853:d4baf4dd55c3 854:fe0d69d72bcd
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 util_allocator.h ../src/cx/allocator.h ../src/cx/common.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/string.h \ 76 ../src/cx/allocator.h ../src/cx/iterator.h ../src/cx/compare.h \
77 ../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/iterator.h ../src/cx/common.h
85 85
86 $(TEST_DIR)/test_list$(OBJ_EXT): test_list.c ../src/cx/test.h \ 86 $(TEST_DIR)/test_list$(OBJ_EXT): test_list.c ../src/cx/test.h \
87 util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \ 87 util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \
88 ../src/cx/compare.h ../src/cx/utils.h ../src/cx/array_list.h \ 88 ../src/cx/compare.h ../src/cx/utils.h ../src/cx/array_list.h \
89 ../src/cx/list.h ../src/cx/collection.h ../src/cx/allocator.h \ 89 ../src/cx/list.h ../src/cx/collection.h ../src/cx/allocator.h \
90 ../src/cx/iterator.h ../src/cx/linked_list.h 90 ../src/cx/iterator.h ../src/cx/compare.h ../src/cx/linked_list.h
91 @echo "Compiling $<" 91 @echo "Compiling $<"
92 $(CC) -o $@ $(CFLAGS) -c $< 92 $(CC) -o $@ $(CFLAGS) -c $<
93 93
94 $(TEST_DIR)/test_mempool$(OBJ_EXT): test_mempool.c ../src/cx/test.h \ 94 $(TEST_DIR)/test_mempool$(OBJ_EXT): test_mempool.c ../src/cx/test.h \
95 util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \ 95 util_allocator.h ../src/cx/allocator.h ../src/cx/common.h \

mercurial