From ffdfa7d170ec674e19bded98e7b4974aa52feff7 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Fri, 14 Jun 2013 12:45:14 +0200 Subject: [PATCH] Don't indent variable assignments with tabs This causes make to consider the line part of the preceding recipe, causing the variable to remain unset and the preceding recipe to break. In this case, this was the recipe for user libraries with .c files, which is uncommon enough for this to go unnoticed. This was broken in 3bce1d88 (Allow adding extra common dependencies). --- arduino-mk/Arduino.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk index 17d565e..f8ac95c 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -721,9 +721,9 @@ $(OBJDIR)/libs/%.o: $(USER_LIB_PATH)/%.c $(CC) -MMD -c $(CPPFLAGS) $(CFLAGS) $< -o $@ ifdef COMMON_DEPS - COMMON_DEPS := $(COMMON_DEPS) Makefile + COMMON_DEPS := $(COMMON_DEPS) Makefile else - COMMON_DEPS := Makefile + COMMON_DEPS := Makefile endif # normal local sources