clean target: ignore makefiles in rfm12_lib/examples
This commit is contained in:
parent
013cf7c8d5
commit
025b4b40ed
2
Makefile
2
Makefile
|
@ -170,7 +170,7 @@ clean:
|
||||||
$(MAKE) -f rules.mk no_deps=t clean-common
|
$(MAKE) -f rules.mk no_deps=t clean-common
|
||||||
$(RM) -f $(TARGET) $(TARGET).bin $(TARGET).hex $(TARGET).lst .subdirs
|
$(RM) -f $(TARGET) $(TARGET).bin $(TARGET).hex $(TARGET).lst .subdirs
|
||||||
$(RM) -f $(TARGET).map
|
$(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 "x$$subdir" != "x." \
|
||||||
&& test -e $$subdir/Makefile \
|
&& test -e $$subdir/Makefile \
|
||||||
&& $(MAKE) no_deps=t -C $$subdir clean ; done ; true
|
&& $(MAKE) no_deps=t -C $$subdir clean ; done ; true
|
||||||
|
|
Loading…
Reference in New Issue