From 025b4b40ed69dd2060d46ae83480858333334905 Mon Sep 17 00:00:00 2001 From: Christian Kroll Date: Thu, 20 Mar 2014 01:45:04 +0100 Subject: [PATCH] clean target: ignore makefiles in rfm12_lib/examples --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d1095db..d9a7aeb 100644 --- a/Makefile +++ b/Makefile @@ -170,7 +170,7 @@ clean: $(MAKE) -f rules.mk no_deps=t clean-common $(RM) -f $(TARGET) $(TARGET).bin $(TARGET).hex $(TARGET).lst .subdirs $(RM) -f $(TARGET).map - for subdir in `find . -type d` ; do \ + for subdir in `find . -type d ! -iwholename './src/rfm12/rfm12_lib/examples/*'` ; do \ test "x$$subdir" != "x." \ && test -e $$subdir/Makefile \ && $(MAKE) no_deps=t -C $$subdir clean ; done ; true