diff options
| author | Matthijs Kooijman <matthijs@stdin.nl> | 2013-06-19 23:36:21 +0200 |
|---|---|---|
| committer | Matthijs Kooijman <matthijs@stdin.nl> | 2013-06-19 23:44:36 +0200 |
| commit | a289fd7132eadda73d434a1077abb43f6f1a1b84 (patch) | |
| tree | 1d310af0878ea0d3934d51513acbb020a873039c /arduino-mk | |
| parent | 109693ad689f38efd4fb5deb5877f4732e4e8154 (diff) | |
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.
Diffstat (limited to '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 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 |
