-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
223 lines (160 loc) · 17 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
# Automatically generated by reggae version 0.5.4+
# Do not edit by hand
all: example_cpp ut_cpp
.SUFFIXES:
CC = clang
CXX = clang++
DC = dmd
objs/example_cpp.objs/example/cpp/test/test.o: example/cpp/test/test.cpp Makefile
$(CXX) -Wall -Werror -Wextra -g -std=c++14 -I. -Iexample/cpp/test -Iexample/src -Iexample/deps -Iexample/cpp/mocks -MMD -MT objs/example_cpp.objs/example/cpp/test/test.o -MF objs/example_cpp.objs/example/cpp/test/test.o.dep -o objs/example_cpp.objs/example/cpp/test/test.o -c example/cpp/test/test.cpp
@cp objs/example_cpp.objs/example/cpp/test/test.o.dep objs/example_cpp.objs/example/cpp/test/test.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_cpp.objs/example/cpp/test/test.o.dep >> objs/example_cpp.objs/example/cpp/test/test.o.dep.P; \
rm -f objs/example_cpp.objs/example/cpp/test/test.o.dep
-include objs/example_cpp.objs/example/cpp/test/test.o.dep.P
objs/example_cpp.objs/example/src/prod.o: example/src/prod.c Makefile
$(CC) -Wall -Werror -Wextra -g -include mocks.h -I. -Iexample/cpp/test -Iexample/src -Iexample/deps -Iexample/cpp/mocks -MMD -MT objs/example_cpp.objs/example/src/prod.o -MF objs/example_cpp.objs/example/src/prod.o.dep -o objs/example_cpp.objs/example/src/prod.o -c example/src/prod.c
@cp objs/example_cpp.objs/example/src/prod.o.dep objs/example_cpp.objs/example/src/prod.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_cpp.objs/example/src/prod.o.dep >> objs/example_cpp.objs/example/src/prod.o.dep.P; \
rm -f objs/example_cpp.objs/example/src/prod.o.dep
-include objs/example_cpp.objs/example/src/prod.o.dep.P
objs/example_cpp.objs/example/src/cpp_prod.o: example/src/cpp_prod.cpp Makefile
$(CXX) -Wall -Werror -Wextra -g -include mocks.h -I. -Iexample/cpp/test -Iexample/src -Iexample/deps -Iexample/cpp/mocks -MMD -MT objs/example_cpp.objs/example/src/cpp_prod.o -MF objs/example_cpp.objs/example/src/cpp_prod.o.dep -o objs/example_cpp.objs/example/src/cpp_prod.o -c example/src/cpp_prod.cpp
@cp objs/example_cpp.objs/example/src/cpp_prod.o.dep objs/example_cpp.objs/example/src/cpp_prod.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_cpp.objs/example/src/cpp_prod.o.dep >> objs/example_cpp.objs/example/src/cpp_prod.o.dep.P; \
rm -f objs/example_cpp.objs/example/src/cpp_prod.o.dep
-include objs/example_cpp.objs/example/src/cpp_prod.o.dep.P
objs/example_cpp.objs/example/deps/other.o: example/deps/other.c Makefile
$(CC) -Wall -Werror -Wextra -g -MMD -MT objs/example_cpp.objs/example/deps/other.o -MF objs/example_cpp.objs/example/deps/other.o.dep -o objs/example_cpp.objs/example/deps/other.o -c example/deps/other.c
@cp objs/example_cpp.objs/example/deps/other.o.dep objs/example_cpp.objs/example/deps/other.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_cpp.objs/example/deps/other.o.dep >> objs/example_cpp.objs/example/deps/other.o.dep.P; \
rm -f objs/example_cpp.objs/example/deps/other.o.dep
-include objs/example_cpp.objs/example/deps/other.o.dep.P
objs/example_cpp.objs/example/deps/cpp_other.o: example/deps/cpp_other.cpp Makefile
$(CXX) -Wall -Werror -Wextra -g -MMD -MT objs/example_cpp.objs/example/deps/cpp_other.o -MF objs/example_cpp.objs/example/deps/cpp_other.o.dep -o objs/example_cpp.objs/example/deps/cpp_other.o -c example/deps/cpp_other.cpp
@cp objs/example_cpp.objs/example/deps/cpp_other.o.dep objs/example_cpp.objs/example/deps/cpp_other.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_cpp.objs/example/deps/cpp_other.o.dep >> objs/example_cpp.objs/example/deps/cpp_other.o.dep.P; \
rm -f objs/example_cpp.objs/example/deps/cpp_other.o.dep
-include objs/example_cpp.objs/example/deps/cpp_other.o.dep.P
objs/example_cpp.objs/example/cpp/mocks/mock_other.o: example/cpp/mocks/mock_other.cpp Makefile
$(CXX) -Wall -Werror -Wextra -g -std=c++14 -I. -Iexample/cpp/test -Iexample/src -Iexample/deps -Iexample/cpp/mocks -MMD -MT objs/example_cpp.objs/example/cpp/mocks/mock_other.o -MF objs/example_cpp.objs/example/cpp/mocks/mock_other.o.dep -o objs/example_cpp.objs/example/cpp/mocks/mock_other.o -c example/cpp/mocks/mock_other.cpp
@cp objs/example_cpp.objs/example/cpp/mocks/mock_other.o.dep objs/example_cpp.objs/example/cpp/mocks/mock_other.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_cpp.objs/example/cpp/mocks/mock_other.o.dep >> objs/example_cpp.objs/example/cpp/mocks/mock_other.o.dep.P; \
rm -f objs/example_cpp.objs/example/cpp/mocks/mock_other.o.dep
-include objs/example_cpp.objs/example/cpp/mocks/mock_other.o.dep.P
objs/example_cpp.objs/example/cpp/mocks/mock_network.o: example/cpp/mocks/mock_network.cpp Makefile
$(CXX) -Wall -Werror -Wextra -g -std=c++14 -I. -Iexample/cpp/test -Iexample/src -Iexample/deps -Iexample/cpp/mocks -MMD -MT objs/example_cpp.objs/example/cpp/mocks/mock_network.o -MF objs/example_cpp.objs/example/cpp/mocks/mock_network.o.dep -o objs/example_cpp.objs/example/cpp/mocks/mock_network.o -c example/cpp/mocks/mock_network.cpp
@cp objs/example_cpp.objs/example/cpp/mocks/mock_network.o.dep objs/example_cpp.objs/example/cpp/mocks/mock_network.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_cpp.objs/example/cpp/mocks/mock_network.o.dep >> objs/example_cpp.objs/example/cpp/mocks/mock_network.o.dep.P; \
rm -f objs/example_cpp.objs/example/cpp/mocks/mock_network.o.dep
-include objs/example_cpp.objs/example/cpp/mocks/mock_network.o.dep.P
objs/example_cpp.objs/example/cpp/mocks/mock_cpp.o: example/cpp/mocks/mock_cpp.cpp Makefile
$(CXX) -Wall -Werror -Wextra -g -std=c++14 -I. -Iexample/cpp/test -Iexample/src -Iexample/deps -Iexample/cpp/mocks -MMD -MT objs/example_cpp.objs/example/cpp/mocks/mock_cpp.o -MF objs/example_cpp.objs/example/cpp/mocks/mock_cpp.o.dep -o objs/example_cpp.objs/example/cpp/mocks/mock_cpp.o -c example/cpp/mocks/mock_cpp.cpp
@cp objs/example_cpp.objs/example/cpp/mocks/mock_cpp.o.dep objs/example_cpp.objs/example/cpp/mocks/mock_cpp.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_cpp.objs/example/cpp/mocks/mock_cpp.o.dep >> objs/example_cpp.objs/example/cpp/mocks/mock_cpp.o.dep.P; \
rm -f objs/example_cpp.objs/example/cpp/mocks/mock_cpp.o.dep
-include objs/example_cpp.objs/example/cpp/mocks/mock_cpp.o.dep.P
example_cpp: objs/example_cpp.objs/example/cpp/test/test.o objs/example_cpp.objs/example/src/prod.o objs/example_cpp.objs/example/src/cpp_prod.o objs/example_cpp.objs/example/deps/other.o objs/example_cpp.objs/example/deps/cpp_other.o objs/example_cpp.objs/example/cpp/mocks/mock_other.o objs/example_cpp.objs/example/cpp/mocks/mock_network.o objs/example_cpp.objs/example/cpp/mocks/mock_cpp.o Makefile
$(CXX) -o example_cpp objs/example_cpp.objs/example/cpp/test/test.o objs/example_cpp.objs/example/src/prod.o objs/example_cpp.objs/example/src/cpp_prod.o objs/example_cpp.objs/example/deps/other.o objs/example_cpp.objs/example/deps/cpp_other.o objs/example_cpp.objs/example/cpp/mocks/mock_other.o objs/example_cpp.objs/example/cpp/mocks/mock_network.o objs/example_cpp.objs/example/cpp/mocks/mock_cpp.o
objs/ut_cpp.objs/tests/test_exceptions.o: tests/test_exceptions.cpp Makefile
$(CXX) -Wall -Werror -Wextra -g -std=c++14 -I. -Itests -MMD -MT objs/ut_cpp.objs/tests/test_exceptions.o -MF objs/ut_cpp.objs/tests/test_exceptions.o.dep -o objs/ut_cpp.objs/tests/test_exceptions.o -c tests/test_exceptions.cpp
@cp objs/ut_cpp.objs/tests/test_exceptions.o.dep objs/ut_cpp.objs/tests/test_exceptions.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/ut_cpp.objs/tests/test_exceptions.o.dep >> objs/ut_cpp.objs/tests/test_exceptions.o.dep.P; \
rm -f objs/ut_cpp.objs/tests/test_exceptions.o.dep
-include objs/ut_cpp.objs/tests/test_exceptions.o.dep.P
objs/ut_cpp.objs/tests/main.o: tests/main.cpp Makefile
$(CXX) -Wall -Werror -Wextra -g -std=c++14 -I. -Itests -MMD -MT objs/ut_cpp.objs/tests/main.o -MF objs/ut_cpp.objs/tests/main.o.dep -o objs/ut_cpp.objs/tests/main.o -c tests/main.cpp
@cp objs/ut_cpp.objs/tests/main.o.dep objs/ut_cpp.objs/tests/main.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/ut_cpp.objs/tests/main.o.dep >> objs/ut_cpp.objs/tests/main.o.dep.P; \
rm -f objs/ut_cpp.objs/tests/main.o.dep
-include objs/ut_cpp.objs/tests/main.o.dep.P
objs/ut_cpp.objs/tests/test_traits.o: tests/test_traits.cpp Makefile
$(CXX) -Wall -Werror -Wextra -g -std=c++14 -I. -Itests -MMD -MT objs/ut_cpp.objs/tests/test_traits.o -MF objs/ut_cpp.objs/tests/test_traits.o.dep -o objs/ut_cpp.objs/tests/test_traits.o -c tests/test_traits.cpp
@cp objs/ut_cpp.objs/tests/test_traits.o.dep objs/ut_cpp.objs/tests/test_traits.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/ut_cpp.objs/tests/test_traits.o.dep >> objs/ut_cpp.objs/tests/test_traits.o.dep.P; \
rm -f objs/ut_cpp.objs/tests/test_traits.o.dep
-include objs/ut_cpp.objs/tests/test_traits.o.dep.P
objs/ut_cpp.objs/tests/test_mock_scope.o: tests/test_mock_scope.cpp Makefile
$(CXX) -Wall -Werror -Wextra -g -std=c++14 -I. -Itests -MMD -MT objs/ut_cpp.objs/tests/test_mock_scope.o -MF objs/ut_cpp.objs/tests/test_mock_scope.o.dep -o objs/ut_cpp.objs/tests/test_mock_scope.o -c tests/test_mock_scope.cpp
@cp objs/ut_cpp.objs/tests/test_mock_scope.o.dep objs/ut_cpp.objs/tests/test_mock_scope.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/ut_cpp.objs/tests/test_mock_scope.o.dep >> objs/ut_cpp.objs/tests/test_mock_scope.o.dep.P; \
rm -f objs/ut_cpp.objs/tests/test_mock_scope.o.dep
-include objs/ut_cpp.objs/tests/test_mock_scope.o.dep.P
ut_cpp: objs/ut_cpp.objs/tests/test_exceptions.o objs/ut_cpp.objs/tests/main.o objs/ut_cpp.objs/tests/test_traits.o objs/ut_cpp.objs/tests/test_mock_scope.o Makefile
$(CXX) -o ut_cpp objs/ut_cpp.objs/tests/test_exceptions.o objs/ut_cpp.objs/tests/main.o objs/ut_cpp.objs/tests/test_traits.o objs/ut_cpp.objs/tests/test_mock_scope.o
objs/example_d.objs/example/d/mock_network.o: example/d/mock_network.d Makefile
.reggae/dcompile --objFile=objs/example_d.objs/example/d/mock_network.o --depFile=objs/example_d.objs/example/d/mock_network.o.dep $(DC) -g -unittest -I. -I. -Iexample/d example/d/mock_network.d
@cp objs/example_d.objs/example/d/mock_network.o.dep objs/example_d.objs/example/d/mock_network.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_d.objs/example/d/mock_network.o.dep >> objs/example_d.objs/example/d/mock_network.o.dep.P; \
rm -f objs/example_d.objs/example/d/mock_network.o.dep
-include objs/example_d.objs/example/d/mock_network.o.dep.P
objs/example_d.objs/example/d/mocks.o: example/d/mocks.d Makefile
.reggae/dcompile --objFile=objs/example_d.objs/example/d/mocks.o --depFile=objs/example_d.objs/example/d/mocks.o.dep $(DC) -g -unittest -I. -I. -Iexample/d example/d/mocks.d
@cp objs/example_d.objs/example/d/mocks.o.dep objs/example_d.objs/example/d/mocks.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_d.objs/example/d/mocks.o.dep >> objs/example_d.objs/example/d/mocks.o.dep.P; \
rm -f objs/example_d.objs/example/d/mocks.o.dep
-include objs/example_d.objs/example/d/mocks.o.dep.P
objs/example_d.objs/example/d/mock_other.o: example/d/mock_other.d Makefile
.reggae/dcompile --objFile=objs/example_d.objs/example/d/mock_other.o --depFile=objs/example_d.objs/example/d/mock_other.o.dep $(DC) -g -unittest -I. -I. -Iexample/d example/d/mock_other.d
@cp objs/example_d.objs/example/d/mock_other.o.dep objs/example_d.objs/example/d/mock_other.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_d.objs/example/d/mock_other.o.dep >> objs/example_d.objs/example/d/mock_other.o.dep.P; \
rm -f objs/example_d.objs/example/d/mock_other.o.dep
-include objs/example_d.objs/example/d/mock_other.o.dep.P
objs/example_d.objs/example/d/test.o: example/d/test.d Makefile
.reggae/dcompile --objFile=objs/example_d.objs/example/d/test.o --depFile=objs/example_d.objs/example/d/test.o.dep $(DC) -g -unittest -I. -I. -Iexample/d example/d/test.d
@cp objs/example_d.objs/example/d/test.o.dep objs/example_d.objs/example/d/test.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_d.objs/example/d/test.o.dep >> objs/example_d.objs/example/d/test.o.dep.P; \
rm -f objs/example_d.objs/example/d/test.o.dep
-include objs/example_d.objs/example/d/test.o.dep.P
objs/example_d.objs/premock.o: premock.d Makefile
.reggae/dcompile --objFile=objs/example_d.objs/premock.o --depFile=objs/example_d.objs/premock.o.dep $(DC) -g -unittest -I. -I. -Iexample/d premock.d
@cp objs/example_d.objs/premock.o.dep objs/example_d.objs/premock.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_d.objs/premock.o.dep >> objs/example_d.objs/premock.o.dep.P; \
rm -f objs/example_d.objs/premock.o.dep
-include objs/example_d.objs/premock.o.dep.P
objs/example_d.objs/example/src/prod.o: example/src/prod.c Makefile
$(CC) -Wall -Werror -Wextra -g -include mocks.h -I. -Iexample/cpp/test -Iexample/src -Iexample/deps -Iexample/cpp/mocks -MMD -MT objs/example_d.objs/example/src/prod.o -MF objs/example_d.objs/example/src/prod.o.dep -o objs/example_d.objs/example/src/prod.o -c example/src/prod.c
@cp objs/example_d.objs/example/src/prod.o.dep objs/example_d.objs/example/src/prod.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_d.objs/example/src/prod.o.dep >> objs/example_d.objs/example/src/prod.o.dep.P; \
rm -f objs/example_d.objs/example/src/prod.o.dep
-include objs/example_d.objs/example/src/prod.o.dep.P
objs/example_d.objs/example/src/cpp_prod.o: example/src/cpp_prod.cpp Makefile
$(CXX) -Wall -Werror -Wextra -g -include mocks.h -I. -Iexample/cpp/test -Iexample/src -Iexample/deps -Iexample/cpp/mocks -MMD -MT objs/example_d.objs/example/src/cpp_prod.o -MF objs/example_d.objs/example/src/cpp_prod.o.dep -o objs/example_d.objs/example/src/cpp_prod.o -c example/src/cpp_prod.cpp
@cp objs/example_d.objs/example/src/cpp_prod.o.dep objs/example_d.objs/example/src/cpp_prod.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_d.objs/example/src/cpp_prod.o.dep >> objs/example_d.objs/example/src/cpp_prod.o.dep.P; \
rm -f objs/example_d.objs/example/src/cpp_prod.o.dep
-include objs/example_d.objs/example/src/cpp_prod.o.dep.P
objs/example_d.objs/example/deps/other.o: example/deps/other.c Makefile
$(CC) -Wall -Werror -Wextra -g -MMD -MT objs/example_d.objs/example/deps/other.o -MF objs/example_d.objs/example/deps/other.o.dep -o objs/example_d.objs/example/deps/other.o -c example/deps/other.c
@cp objs/example_d.objs/example/deps/other.o.dep objs/example_d.objs/example/deps/other.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_d.objs/example/deps/other.o.dep >> objs/example_d.objs/example/deps/other.o.dep.P; \
rm -f objs/example_d.objs/example/deps/other.o.dep
-include objs/example_d.objs/example/deps/other.o.dep.P
objs/example_d.objs/example/deps/cpp_other.o: example/deps/cpp_other.cpp Makefile
$(CXX) -Wall -Werror -Wextra -g -MMD -MT objs/example_d.objs/example/deps/cpp_other.o -MF objs/example_d.objs/example/deps/cpp_other.o.dep -o objs/example_d.objs/example/deps/cpp_other.o -c example/deps/cpp_other.cpp
@cp objs/example_d.objs/example/deps/cpp_other.o.dep objs/example_d.objs/example/deps/cpp_other.o.dep.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < objs/example_d.objs/example/deps/cpp_other.o.dep >> objs/example_d.objs/example/deps/cpp_other.o.dep.P; \
rm -f objs/example_d.objs/example/deps/cpp_other.o.dep
-include objs/example_d.objs/example/deps/cpp_other.o.dep.P
example_d: objs/example_d.objs/example/d/mock_network.o objs/example_d.objs/example/d/mocks.o objs/example_d.objs/example/d/mock_other.o objs/example_d.objs/example/d/test.o objs/example_d.objs/premock.o objs/example_d.objs/example/src/prod.o objs/example_d.objs/example/src/cpp_prod.o objs/example_d.objs/example/deps/other.o objs/example_d.objs/example/deps/cpp_other.o Makefile
$(DC) -ofexample_d -L-lstdc++ objs/example_d.objs/example/d/mock_network.o objs/example_d.objs/example/d/mocks.o objs/example_d.objs/example/d/mock_other.o objs/example_d.objs/example/d/test.o objs/example_d.objs/premock.o objs/example_d.objs/example/src/prod.o objs/example_d.objs/example/src/cpp_prod.o objs/example_d.objs/example/deps/other.o objs/example_d.objs/example/deps/cpp_other.o