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 | |
| parent | aa879d8db864cdbc51408f5982ebcc7530626813 (diff) | |
Added *.cpp to extensions supported by "make generate_assembly"
| -rw-r--r-- | Arduino.mk | 5 | ||||
| -rw-r--r-- | HISTORY.md | 1 |
2 files changed, 4 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) @@ -17,6 +17,7 @@ I tried to give credit whenever possible. If I have missed anyone, kindly add it - Add: Allow "make clean" target to be extended (Issue #239). (https://github.com/sej7278) - Fix: Update "make show_boards" regex to work with the Due in 1.5. (https://github.com/sej7278) - Fix: Allow user libaries/sketches to have the same name as system libs. (Issue #244, #229). (https://github.com/sej7278) +- Tweak: Add cpp to extensions supported by "make generate_assembly". (https://github.com/sej7278) ### 1.3.4 (2014-07-12) - Tweak: Allow spaces in "Serial.begin (....)". (Issue #190) (https://github.com/pdav) |
