On Mar 4, 2010, at 9:13 PM, Rick Flower wrote:

> %.o : %.cc
>       $(target_gpp) -MMD $(GPPFLAGS) \
>              $(and $(findstring
> "COVERAGE_ON",${extra_define}),"1",${COVERAGE_FLAGS}) \
>              -c $< -o $@

It worked for me when I got rid of the double quotes around COVERAGE_ON as it 
was trying to find the double quotes in ${extra_define}, too.

Using your original makefile, try this:
make extra_define=-D\"COVERAGE_ON\" clean all

Harvey

_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to