diff options
| author | Simon John <git@the-jedi.co.uk> | 2014-08-22 17:57:30 +0200 |
|---|---|---|
| committer | Simon John <git@the-jedi.co.uk> | 2014-08-29 09:56:52 +0200 |
| commit | 9a6b0ef75f2ca43fb495945dde5014ccae934c58 (patch) | |
| tree | c2464dcab290a9758be15cec2b5c3b06e6816242 /Arduino.mk | |
| parent | aa879d8db864cdbc51408f5982ebcc7530626813 (diff) | |
Added *.cpp to extensions supported by "make generate_assembly"
Diffstat (limited to 'Arduino.mk')
| -rw-r--r-- | Arduino.mk | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1092,8 +1092,9 @@ $(OBJDIR)/%.s: %.ino $(COMMON_DEPS) | $(OBJDIR) @$(MKDIR) $(dir $@) $(CXX) -x c++ -include $(ARDUINO_HEADER) -MMD -S -fverbose-asm $(CPPFLAGS) $(CXXFLAGS) $< -o $@ -#$(OBJDIR)/%.lst: $(OBJDIR)/%.s -# $(AS) -$(MCU_FLAG_NAME)=$(MCU) -alhnd $< > $@ +$(OBJDIR)/%.s: %.cpp $(COMMON_DEPS) | $(OBJDIR) + @$(MKDIR) $(dir $@) + $(CXX) -x c++ -include $(ARDUINO_HEADER) -MMD -S -fverbose-asm $(CPPFLAGS) $(CXXFLAGS) $< -o $@ # core files $(OBJDIR)/core/%.o: $(ARDUINO_CORE_PATH)/%.c $(COMMON_DEPS) | $(OBJDIR) |
