On Tue, 2011-04-12 at 14:36 +0430, ali hagigat wrote:
> e12:
>     @echo insidee12
>     @echo $(.VARIABLES)
> 
> insidee12
> /bin/sh: D: No such file or directory
> make: *** [e12] Error 1
> ----------------------------------
> Why the error is generated?

I've already given you advice on testing make features which, had you
followed it, would have avoided the problem.

First, NEVER PREFIX YOUR RECIPES WITH "@".  That simply hides important
information that will let you see what's wrong for yourself.

Second, when showing variables using commands like echo or printf in a
recipe, ALWAYS SINGLE-QUOTE THE OUTPUT.

If you'd written this following these rules, e.g.:

    e12:
            echo '$(.VARIABLES)'

then you would not have needed to ask the question.



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

Reply via email to