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.
This commit is contained in:
Matthijs Kooijman 2013-06-19 23:36:21 +02:00
parent 109693ad68
commit a289fd7132

View file

@ -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