diff options
| author | Sudar <sudar@sudarmuthu.com> | 2012-06-23 11:23:16 +0530 |
|---|---|---|
| committer | Sudar <sudar@sudarmuthu.com> | 2012-06-23 11:23:16 +0530 |
| commit | a6c076c5d355c561d0dc5fbf19c5ababcadfde2d (patch) | |
| tree | 202af950c24336d817934db819493a07861640c7 /arduino-mk/Arduino.mk | |
| parent | 8140557eb29d8c42092cec85df0c1da794dd5863 (diff) | |
cleaner way to delete the build-cli directory when make clean is invoked
Diffstat (limited to 'arduino-mk/Arduino.mk')
| -rw-r--r-- | arduino-mk/Arduino.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk index 0ea464b..dd0db28 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -473,7 +473,7 @@ OBJDUMP = $(AVR_TOOLS_PATH)/avr-objdump AR = $(AVR_TOOLS_PATH)/avr-ar SIZE = $(AVR_TOOLS_PATH)/avr-size NM = $(AVR_TOOLS_PATH)/avr-nm -REMOVE = rm -f +REMOVE = rm -rf MV = mv -f CAT = cat ECHO = echo -e @@ -683,7 +683,7 @@ ispload: $(TARGET_HEX) -U lock:w:$(ISP_LOCK_FUSE_POST):m clean: - $(REMOVE) $(LOCAL_OBJS) $(CORE_OBJS) $(LIB_OBJS) $(CORE_LIB) $(TARGETS) $(DEP_FILE) $(DEPS) $(USER_LIB_OBJS) @rm -rf ${OBJDIR} + $(REMOVE) $(LOCAL_OBJS) $(CORE_OBJS) $(LIB_OBJS) $(CORE_LIB) $(TARGETS) $(DEP_FILE) $(DEPS) $(USER_LIB_OBJS) ${OBJDIR} depends: $(DEPS) cat $(DEPS) > $(DEP_FILE) |
