Skip to content

Commit

Permalink
Some Makefile changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Kulynych committed May 30, 2015
1 parent dc9f70e commit c1e234c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Expand Up @@ -65,7 +65,8 @@ $(LIBOBJECTS): $(BUILDDIR)/%.o: %.cpp
.PHONY: tests
tests: CXXFLAGS += -O0 -DDEBUG -g --coverage
tests: LDFLAGS = --coverage
tests: $(LIBOBJECTS)
tests: $(LIBSOURCES)
tests: $(TESTSOURCES)
tests: $(TESTTARGETS)

$(TESTTARGETS): $(LIBOBJECTS)
Expand All @@ -91,7 +92,8 @@ coverage:
# Benchmarks

.PHONY: benchmarks
benchmarks: $(LIBOBJECTS)
benchmarks: $(LIBSOURCES)
benchmarks: $(BENCHSOURCES)
benchmarks: $(BENCHTARGETS)
$(foreach exe,$<,@echo "$(EXEC): $(exe)" && ./$(exe) $(TESTOPTS)${\n})

Expand Down

0 comments on commit c1e234c

Please sign in to comment.