Commit 7c403883 authored by Mikaël Salson's avatar Mikaël Salson

Clean: Clean just cleans compilation related files.

cleancoverage removes coverage-related files
cleantests removes test-related files
cleanall removes everything.
parent eafb88cb
......@@ -126,7 +126,7 @@ clean:
cleanall: clean
make -C data $^
make -C germline $^
make -C $(VIDJIL_ALGO_SRC) cleancoverage
make -C $(VIDJIL_ALGO_SRC) cleanall
.PHONY: all test should clean cleanall distrib data germline unit_coverage should_coverage coverage
......
......@@ -95,6 +95,9 @@ cleancoverage: clean
make -C core cleancoverage
make -C lib cleancoverage
cleanall: cleancoverage
make -C tests cleanall
forcedep:
g++ $(CXXFLAGS) -M $(MAINCORE) > dep.mk
make -C core forcedep
......
......@@ -62,11 +62,14 @@ core:
$(CC) -o $@ $(INCLUDE) -c $< $(CXXFLAGS)
clean:
rm -f *.o $(EXEC) *.tap *.log should-vdj-tests/*.tap should-vdj-tests/*.log
rm -rf out/
rm -f *.o $(EXEC)
cleancoverage:
rm -f *.gcda *.gcno *.gcov
cleantests:
rm -f *.tap *.log should-vdj-tests/*.tap should-vdj-tests/*.log
rm -rf out/
cleanall: clean cleancoverage cleantests
forcedep:
g++ $(INCLUDE) -M $(SRC) > dep.mk
......
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