From 4dc74572654ed598caf017af476228eddc8fb7aa Mon Sep 17 00:00:00 2001 From: Sudar Date: Sat, 14 Jul 2012 12:22:34 +0530 Subject: [PATCH] Don't include dependent makefile when doing make clean --- arduino-mk/Arduino.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk index e5f504d..c362c96 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -839,4 +839,6 @@ disasm: all $(OBJDIR)/$(TARGET).lss .PHONY: all clean depends upload raw_upload reset reset_stty size show_boards monitor # added - in the beginning, so that we don't get an error if the file is not present +ifneq ($(MAKECMDGOALS),clean) -include $(DEP_FILE) +endif