summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5b136f56..6fab97a4 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,9 @@ all:
%-lndist: hurd-snap
make -C $* lndist
+%-clean:
+ make -C $* clean
+
hurd-snap:
mkdir hurd-snap
@@ -40,4 +43,4 @@ dist: hurd-snap $(addsuffix -lndist,$(SUBDIRS)) lndist
tar cfz hurd-snap.tar.gz hurd-snap
rm -rf hurd-snap
- \ No newline at end of file
+clean: $(addsuffix -clean,$(SUBDIRS))