Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.os.unix > #8028

Makefiles : changer le type d'une variable

Path csiph.com!news.mixmin.net!proxad.net!feeder1-2.proxad.net!cleanfeed1-a.proxad.net!nnrp1-1.free.fr!not-for-mail
From Thomas <fantome.forums.tDeContes@free.fr.invalid>
Newsgroups fr.comp.os.unix
Mail-Copies-To nobody
Subject Makefiles : changer le type d'une variable
MIME-Version 1.0
Content-Type text/plain; charset=ISO-8859-15
Content-Transfer-Encoding 8bit
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
Date Tue, 20 Sep 2022 01:46:21 +0200
Lines 26
Message-ID <6328ff4e$0$31533$426a74cc@news.free.fr> (permalink)
Organization Guest of ProXad - France
NNTP-Posting-Date 20 Sep 2022 01:46:22 CEST
NNTP-Posting-Host 91.175.52.121
X-Trace 1663631182 news-2.free.fr 31533 91.175.52.121:2764
X-Complaints-To abuse@proxad.net
Xref csiph.com fr.comp.os.unix:8028

Show key headers only | View raw


bonjour :-)


je me demande comment changer le type (flavor) d'une variable.

je n'ai pas vu que ça soit expliqué ici :
https://www.gnu.org/software/make/manual/html_node/Flavors.html


si je veux transformer une variable évaluée recursivement en variable 
évaluée simplement, c'est facile :

VAR := $(VAR)

par contre, si je veux transformer une variable évaluée simplement en 
variable évaluée recursivement, je me demande si c'est possible.
en tout cas, ceci ne marche pas :

VAR := $(VAR)

et il me semble que je ne peux pas y arriver non plus avec la fonction 
value.

-- 
RAPID maintainer
http://savannah.nongnu.org/projects/rapid/

Back to fr.comp.os.unix | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Makefiles : changer le type d'une variable Thomas <fantome.forums.tDeContes@free.fr.invalid> - 2022-09-20 01:46 +0200
  Re: Makefiles : changer le type d'une variable Thomas <fantome.forums.tDeContes@free.fr.invalid> - 2022-09-22 02:18 +0200
    Re: Makefiles : changer le type d'une variable Thomas <fantome.forums.tDeContes@free.fr.invalid> - 2022-10-23 05:39 +0200

csiph-web