🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3721

Re: Makefile with a function in dependency side

#3721
From: Walter Encinas
Date: Tue, 24 Sep 2002 12:10
19 lines
1654 bytes
Paul,

"Paul D. Smith" <psmith@gnu.org> wrote in message 
>   we> I need to build a makefile with a make rule that uses a function
>   we> result as a dependency.
> 
> You can't.

	For the sake of curiosity, is any intrinsic reason why make doesn't
have this feature?

> Your only option is to use GNU make's auto-re-exec feature to generate a
> dynamic makefile: write a rule that generates a makefile containing the
> information you need (so you have the full power of the shell to create
> it). 

	It will work. Thanks

				Walter
Technical Details
Message-ID: <bcf444eb.0209240410.51b4c2a@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
References: <bcf444eb.0209230934.19aac7fb@posting.google.com> <p53cs0bni0.fsf@lemming.engeast.baynetworks.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109f73,b1afc18c7dca1ca8
X-Google-Attributes: gid109f73,public
X-Google-Thread: fc89c,b1afc18c7dca1ca8
X-Google-Attributes: gidfc89c,public
X-Google-Thread: 1025b4,b1afc18c7dca1ca8
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 2002-09-24 05:10:40 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: wsoto@uol.com.br (Walter Encinas)
Newsgroups: comp.unix.programmer,gnu.utils.help,gnu.misc.discuss
Subject: Re: Makefile with a function in dependency side
Date: 24 Sep 2002 05:10:40 -0700
Organization: http://groups.google.com/
Lines: 19
Message-ID: <bcf444eb.0209240410.51b4c2a@posting.google.com>
References: <bcf444eb.0209230934.19aac7fb@posting.google.com> <p53cs0bni0.fsf@lemming.engeast.baynetworks.com>
NNTP-Posting-Host: 200.182.1.190
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1032869440 28531 127.0.0.1 (24 Sep 2002 12:10:40 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 24 Sep 2002 12:10:40 GMT