Commit 1d83f45a authored by Mikaël Salson's avatar Mikaël Salson
Browse files

algo/tests/Makefile: Improve unit test compilation

parent f5983e23
......@@ -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."
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment