Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
1d83f45a
Commit
1d83f45a
authored
Apr 28, 2020
by
Mikaël Salson
Browse files
algo/tests/Makefile: Improve unit test compilation
parent
f5983e23
Changes
1
Hide whitespace changes
Inline
Side-by-side
algo/tests/Makefile
View file @
1d83f45a
...
...
@@ -51,7 +51,7 @@ test: all
cat
./unit-tests/tests.cpp.tap
@
echo
"*** All unit tests passed"
all
:
core
$(EXEC)
all
:
$(EXEC)
@
echo
"All tests compiled."
snapshot
:
...
...
@@ -133,8 +133,8 @@ valgrind_%:
valgrind_tests
:
vidjil ./unit-tests/tests
$(VALGRIND_CMD)
./unit-tests/tests
$(EXEC)
:
% : %.o $(LIB)
$(CXX)
-o
$@
$
<
$(LIB)
$(LDLIBS)
$(LDFLAGS)
$(CXXFLAGS)
$(EXEC)
:
% :
core
%.o $(LIB)
$(CXX)
-o
$@
$
@
.o
$(LIB)
$(LDLIBS)
$(LDFLAGS)
$(CXXFLAGS)
../%.a
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment