I've got 2 very simple questions:
1) In the Arduino IDE, how to add includepath, so that my code is able to search in that folder as default?
2) In Makefile, how to define includepath? So that my code is able to be compiled with those included paths? I tried to put
INCLUDEPATH = ~/MyPrograms/Arduino/
in my Makefile, for there are some .h files under ~/MyPrograms/Arduino/ that I'd love to use. However, when I tried to make, it reports that I'm not able to find some header files.
Well, any solutions?