From e017ed6bb74399851419c419d5ff7186de86a794 Mon Sep 17 00:00:00 2001
From: Sven Gestegard Robertz <sven.robertz@cs.lth.se>
Date: Wed, 18 Feb 2015 14:57:39 +0100
Subject: [PATCH] distclean depends on clean in top-level Makefile

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 981832d..bf8eb7b 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ clean-%:
 	$(MAKE) -C $* -e clean
 
 .PHONY: distclean
-distclean: $(SUBDIRS:%=distclean-%)
+distclean: clean $(SUBDIRS:%=distclean-%)
 
 .PHONY: distclean-%
 distclean-%:
-- 
GitLab