clean target: ignore makefiles in rfm12_lib/examples

This commit is contained in:
Christian Kroll 2014-03-20 01:45:04 +01:00
parent 013cf7c8d5
commit 025b4b40ed
1 changed files with 1 additions and 1 deletions

View File

@ -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