From 99f1f749cf51fa496cbe632fc56b0fb2b09e5118 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Fri, 20 Jan 2023 11:19:20 -0300 Subject: [PATCH] Apply a deeper cleanser --- Makefile | 2 +- examples/rp2040/pico-w/Makefile | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1f70e6a4..d1f1189f 100644 --- a/Makefile +++ b/Makefile @@ -183,4 +183,4 @@ mongoose.h: $(HDRS) Makefile clean: rm -rf $(PROG) *.exe *.o *.dSYM *_test* ut fuzzer *.gcov *.gcno *.gcda *.obj *.exe *.ilk *.pdb slow-unit* _CL_* infer-out data.txt crash-* test/packed_fs.c pack arduino tmp - @for X in $(EXAMPLES); do $(MAKE) -C $$X clean; done + find examples -maxdepth 3 -name zephyr -prune -o -name Makefile -print | xargs dirname | xargs -n1 make clean -C diff --git a/examples/rp2040/pico-w/Makefile b/examples/rp2040/pico-w/Makefile index 61a95a86..bba01430 100644 --- a/examples/rp2040/pico-w/Makefile +++ b/examples/rp2040/pico-w/Makefile @@ -10,5 +10,4 @@ build: | $(NAME) make -C $(NAME) build clean: - make -C $(NAME) clean rm -rf $(NAME)