help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Limiting expansion of make variables


From: John Calcote
Subject: Re: Limiting expansion of make variables
Date: Tue, 18 Apr 2017 09:16:05 -0600

Use \$.

On Apr 18, 2017 10:14 AM, "Richard Cavell" <address@hidden> wrote:

>    Hello all.  For debugging purposes, I am trying to put this into my
>    makefile:
>
>    .PHONY: dumpvars
>
>    dumpvars: source.c source.h
>    @echo "$(RM) is " $(RM)
>    @echo "$? expands to : " $?
>
>    and so on.  But obviously, Make is expanding all instances of the
>    variables' names.  How do I prevent this?
>
>    TIA,
>    Richard
> _______________________________________________
> Help-make mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-make
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]