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:
parent
109693ad68
commit
a289fd7132
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue