Change distclean to clean all platforms
This commit is contained in:
parent
c7e36a3d55
commit
9a1d34e163
@ -300,8 +300,11 @@ clean:
|
||||
-rm -f $(addsuffix -$(TARGET).map, $(CONTIKI_PROJECT))
|
||||
-rm -f $(addsuffix .$(TARGET), $(CONTIKI_PROJECT))
|
||||
|
||||
distclean: clean
|
||||
-rm -f ${addsuffix .$(TARGET),$(CONTIKI_PROJECT)}
|
||||
distclean:
|
||||
@for TARG in `ls $(CONTIKI)/arch/platform $(TARGETDIRS)`; do \
|
||||
echo make $$TARG clean; \
|
||||
make TARGET=$$TARG clean; \
|
||||
done
|
||||
|
||||
-include $(CONTIKI)/arch/platform/$(TARGET)/Makefile.customrules-$(TARGET)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user