bug-make
[Top][All Lists]
Advanced

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

target-specific 'define'd variables (3.80)?


From: Will Partain
Subject: target-specific 'define'd variables (3.80)?
Date: Mon, 05 Jul 2004 16:14:09 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Reasonable Discussion, linux)

Hi; I don't know if the little Makefile below *ought* to
work or not; it seems it should.  I could be that there's a
bug, or that an example in the documentation would be enough.
Keep up the excellent work,

Will

==========

foo : \
define myvar
@echo This is a multi-line definition
@echo of myvar with foo in it.
endef

bar : \
define myvar
@echo This is a multi-line definition
@echo of myvar with bar in it.
endef

foo :
        $(myvar)

bar :
        $(myvar)





reply via email to

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