From a289fd7132eadda73d434a1077abb43f6f1a1b84 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Wed, 19 Jun 2013 23:36:21 +0200 Subject: [PATCH] Let the .pde and .ino rules also depend on $(COMMON_DEPS) In 1f043bb (Compile .ino and .pde files directly), this dependency was accidentally dropped from these rules. This fixes this by adding it again. --- 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 0dafffc..4624e60 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -764,11 +764,11 @@ $(OBJDIR)/%.o: %.s $(COMMON_DEPS) | $(OBJDIR) $(CC) -c $(CPPFLAGS) $(ASFLAGS) $< -o $@ # the pde -> o file -$(OBJDIR)/%.o: %.pde | $(OBJDIR) +$(OBJDIR)/%.o: %.pde $(COMMON_DEPS) | $(OBJDIR) $(CXX) -x c++ -include $(ARDUINO_HEADER) -MMD -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@ # the ino -> o file -$(OBJDIR)/%.o: %.ino | $(OBJDIR) +$(OBJDIR)/%.o: %.ino $(COMMON_DEPS) | $(OBJDIR) $(CXX) -x c++ -include Arduino.h -MMD -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@ # generated assembly