[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Limiting expansion of make variables
From: |
Richard Cavell |
Subject: |
Limiting expansion of make variables |
Date: |
Tue, 18 Apr 2017 17:14:34 +0200 |
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
- Limiting expansion of make variables,
Richard Cavell <=