[vdr] Include Path in Makefile (VDR >=1.7.15)
Hans-Peter Jansen
hpj at urpla.net
Fri Nov 19 21:12:32 CET 2010
On Friday 19 November 2010, 20:19:20 Joachim Wilke wrote:
> I'm just wondering, if there has happened a mistake in updating the
> Makefile in VDR 1.7.15.
>
> The HISTORY file states:
> "Include paths are now added instead of overwriting INCLUDES in the
> Makefile"
>
> However, in the Makefile changes:
> -INCLUDES = -I/usr/include/freetype2
> +INCLUDES ?= -I/usr/include/freetype2
>
> Shouldn't that be += instead of ?=.
No, the conditional variable assignment operator ?= allows one to
replace this variable via command line/environment.
> In my case, my IDE sets INCLUDES with some custom stuff. Therefore
> the Makefile does not touch INCLUDES any more and I get an error.
If your IDE mangles INCLUDES (?!?), just add "-I/usr/include/freetype2"
to the mess..
Pete
More information about the vdr
mailing list