Refer to original file in error messages.
This commit is contained in:
parent
184230fcf2
commit
6211d0519e
1 changed files with 1 additions and 0 deletions
|
@ -599,6 +599,7 @@ $(OBJDIR)/%.cpp: %.pde
|
|||
# the ino -> cpp -> o file
|
||||
$(OBJDIR)/%.cpp: %.ino
|
||||
$(ECHO) '#include <Arduino.h>' > $@
|
||||
$(ECHO) '#line 1 "$<"' > $@
|
||||
$(CAT) $< >> $@
|
||||
|
||||
$(OBJDIR)/%.o: $(OBJDIR)/%.cpp
|
||||
|
|
Loading…
Reference in a new issue