[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I: adjust test suite for upcoming GNU Make 3.83
From: |
Paul D. Smith |
Subject: |
Re: I: adjust test suite for upcoming GNU Make 3.83 |
Date: |
01 Jul 2005 17:35:36 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
FYI, here's one way to handle it (obviously requires GNU make):
ifeq (,$(filter second-expansion,$(.FEATURES)))
# GNU make <3.81
PRE_D := $$
else
# GNU make >=3.81
PRE_D := $$$$
endif
# Now use PRE_D in prerequisites
all: foo$(PRE_D)bar ; @echo '$@: $<'
foo$$bar: ; @echo 'building $@'
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
- Re: I: adjust test suite for upcoming GNU Make 3.83, Paul D. Smith, 2005/07/01
- Re: I: adjust test suite for upcoming GNU Make 3.83,
Paul D. Smith <=
- Re: I: adjust test suite for upcoming GNU Make 3.83, Alexandre Duret-Lutz, 2005/07/01
- Re: I: adjust test suite for upcoming GNU Make 3.83, psmith, 2005/07/05
- Re: I: adjust test suite for upcoming GNU Make 3.83, Stepan Kasal, 2005/07/05
- Re: I: adjust test suite for upcoming GNU Make 3.83, psmith, 2005/07/05
- Re: I: adjust test suite for upcoming GNU Make 3.83, Stepan Kasal, 2005/07/07
- Re: I: adjust test suite for upcoming GNU Make 3.83, Jirka Hanika, 2005/07/10
- Re: I: adjust test suite for upcoming GNU Make 3.83, Alexandre Duret-Lutz, 2005/07/10
- Re: I: adjust test suite for upcoming GNU Make 3.83, Paul D. Smith, 2005/07/10
- Re: I: adjust test suite for upcoming GNU Make 3.83, Stepan Kasal, 2005/07/10
Re: I: adjust test suite for upcoming GNU Make 3.83, Alexandre Duret-Lutz, 2005/07/01