On 2007-04-14 09:29Z, Kun Niu wrote:
> Makefile1:
> 
> ifdef DEBUG
> DFLAG=-D DEBUG
> else
> DFLAG=
> endif

Those are 'make' conditionals.

> Makefile2:
> 
> .DEFAULT_GOAL := all
> 
> #ifeq ($(MAKECMDGOALS),debug)
> DFLAG += -D DEBUG -g
> #else
> DFLAG=
> #endif

Those look like C or C++ conditional directives,
but they're actually 'make' comments. Try removing
the '#' characters.


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

Reply via email to