aboutsummaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/Makefile b/examples/Makefile
index e6030ac..b06f0a5 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -13,6 +13,9 @@ all: FORCE
clean: FORCE
+for d in $(DIRS); do (cd $$d && $(MAKE) clean); done
+distclean: clean
+ +for d in $(DIRS); do (cd $$d && $(MAKE) distclean); done
+
$(DIRS): FORCE
+cd $@ && $(MAKE)