From a69f70bc0b37d2e1aee70eefb42db15be107ff8e Mon Sep 17 00:00:00 2001
From: Daniel Carl <danielcarl@gmx.de>
Date: Mon, 15 Oct 2018 23:53:02 +0200
Subject: [PATCH] Remove also tests on make clean.

---
 Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 12ecae4..8566abe 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ uninstall:
 	$(RM) $(LIBDIR)/$(EXTTARGET)
 	$(RM) $(DOTDESKTOPPREFIX)/vimb.desktop
 
-clean: src.subdir-clean
+clean: src.subdir-clean test-clean
 
 sandbox:
 	$(Q)$(MAKE) RUNPREFIX=$(CURDIR)/sandbox/usr PREFIX=/usr DESTDIR=./sandbox install
@@ -44,6 +44,9 @@ test:
 	$(MAKE) -C src vimb.so
 	$(MAKE) -C tests
 
+test-clean:
+	$(MAKE) -C tests clean
+
 %.subdir-all:
 	$(Q)$(MAKE) -C $*
 
-- 
2.20.1