On 2010-06-15 12:23Z, Gary wrote:
> | INCL=`find ${LIB_ROOT} -type d \! \( -name '.*' -prune \) | sed -e 's/^/-I
> /'`
This is a makefile, not a shell script--so $(INCL) is a variable
containing the literal string given, much like a C program that says:
char const* foo = "`find ${LIB_ROOT} -type d \! \( -name '.*' -prune \) | sed
-e 's/^/-I /'`";
If you want to execute that command once and store its result
in a variable, write:
INCL := $(shell find ${LIB_ROOT} -type d \! \( -name '.*' -prune \) | sed -e
's/^/-I /')
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make