Sorry if this has already been answered elsewhere; I searched and Google'd without success.
The pattern for including a library's header file is
The Arduino IDE is smart enough to append
to the GCC command for every library included. This works, but doesn't feel natural, and requires doing some fancier footwork when you want to build an Arduino sketch via a Makefile.
Instead, wouldn't it be better to pass
and then include a library's header file like this?
It should still be very simple for newbies to grok, but would make the transition to a Makefile simpler.