On Mar 4, 2010, at 10:36 PM, Harvey Chapman wrote:
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
Sorry for the late reply.. You hit the nail on the head.. I was able
to get things working
great! Thanks again!
-- Rick
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make