aboutsummaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-10-02 15:40:03 +0200
committerXavier Del Campo Romero <xavi92@disroot.org>2025-10-02 15:48:04 +0200
commitbba0b62f4e9e17927b9a2cda51dd5a4aa1b1f14e (patch)
tree80d58d082ec03dfea2ed1f4c119e3fb251902336 /examples/Makefile
parent9be656dfed53783036c7ae1edae04060b451d6df (diff)
downloadlibweb-bba0b62f4e9e17927b9a2cda51dd5a4aa1b1f14e.tar.gz
examples: Add distclean target
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)