From 87172cc5798c4a45a66af054efe5d0258e76a953 Mon Sep 17 00:00:00 2001 From: J08nY Date: Wed, 28 Mar 2018 20:40:46 +0200 Subject: Fix codecov on Travis. --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3f5d88a..4a99215 100644 --- a/Makefile +++ b/Makefile @@ -12,11 +12,15 @@ clean: +$(MAKE) -C src clean +$(MAKE) -C test clean +clean-cov: + +$(MAKE) -C src clean-cov + +$(MAKE) -C test clean-cov + rm -rf *.gcov + clean-all: +$(MAKE) -C lib clean +$(MAKE) -C src clean-all +$(MAKE) -C test clean-all - rm -rf *.gcov rm -rf doc/* format: @@ -42,13 +46,14 @@ help: @echo " - test : test the main binary" @echo " - unittest : " @echo " - clean : cleans up after a build" + @echo " - clean-cov : cleans up coverage files" @echo " - clean-all : cleans all" @echo " - format : run clang-format on source files" @echo " - help : print this help" .PHONY: all clean clean-all docs test unittest help -ifeq (, $(filter all clean clean-all format docs test unittest help, $(MAKECMDGOALS))) +ifeq (, $(filter all clean clean-cov clean-all format docs test unittest help, $(MAKECMDGOALS))) # Just pass all targets to a Makefile in src $(MAKECMDGOALS): +$(MAKE) -C src $@ -- cgit v1.2.3-70-g09d2