tests/Makefile

changeset 1576
7e19168d49d1
parent 1555
8972247f54e8
equal deleted inserted replaced
1575:dde0c67a449b 1576:7e19168d49d1
58 @echo "Compiling $<" 58 @echo "Compiling $<"
59 $(CC) -o $@ $(CFLAGS) -I../src -c $< 59 $(CC) -o $@ $(CFLAGS) -I../src -c $<
60 60
61 $(TEST_DIR)/test_buffer$(OBJ_EXT): test_buffer.c ../src/cx/test.h \ 61 $(TEST_DIR)/test_buffer$(OBJ_EXT): test_buffer.c ../src/cx/test.h \
62 ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ 62 ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \
63 ../src/cx/buffer.h ../src/cx/allocator.h 63 ../src/cx/buffer.h ../src/cx/allocator.h ../src/cx/string.h
64 @echo "Compiling $<" 64 @echo "Compiling $<"
65 $(CC) -o $@ $(CFLAGS) -I../src -c $< 65 $(CC) -o $@ $(CFLAGS) -I../src -c $<
66 66
67 $(TEST_DIR)/test_compare$(OBJ_EXT): test_compare.c ../src/cx/test.h \ 67 $(TEST_DIR)/test_compare$(OBJ_EXT): test_compare.c ../src/cx/test.h \
68 ../src/cx/common.h ../src/cx/compare.h 68 ../src/cx/common.h ../src/cx/compare.h
137 @echo "Compiling $<" 137 @echo "Compiling $<"
138 $(CC) -o $@ $(CFLAGS) -I../src -c $< 138 $(CC) -o $@ $(CFLAGS) -I../src -c $<
139 139
140 $(TEST_DIR)/test_streams$(OBJ_EXT): test_streams.c ../src/cx/test.h \ 140 $(TEST_DIR)/test_streams$(OBJ_EXT): test_streams.c ../src/cx/test.h \
141 ../src/cx/common.h ../src/cx/streams.h ../src/cx/buffer.h \ 141 ../src/cx/common.h ../src/cx/streams.h ../src/cx/buffer.h \
142 ../src/cx/allocator.h 142 ../src/cx/allocator.h ../src/cx/string.h
143 @echo "Compiling $<" 143 @echo "Compiling $<"
144 $(CC) -o $@ $(CFLAGS) -I../src -c $< 144 $(CC) -o $@ $(CFLAGS) -I../src -c $<
145 145
146 $(TEST_DIR)/test_string$(OBJ_EXT): test_string.c ../src/cx/test.h \ 146 $(TEST_DIR)/test_string$(OBJ_EXT): test_string.c ../src/cx/test.h \
147 ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ 147 ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \

mercurial