[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Antwort: Re: Feature request: meta files & wildcards (once again)
From: |
Alexandre Duret-Lutz |
Subject: |
Re: Antwort: Re: Feature request: meta files & wildcards (once again) |
Date: |
07 May 2002 21:20:27 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>> "Bruce" == Bruce Korb <address@hidden> writes:
Bruce> Alexandre Duret-Lutz wrote:
Alex> Certainly would. The problem I had with suffix rules, was that one
Alex> invocation of the idl compiler on one .idl file expands into many .h and
Alex> .cpp files, therefore I needed a suffix rule for each product.
Bruce> The only straight forward solution I've found is to
Bruce> have stamp file dependencies:
Bruce> GEN_LIST = foo.h bar.h baz.h
Bruce> $(GEN_LIST) : gen-stamp
Bruce> gen-stamp : <predecessor-list>
Bruce> <generator-command> && touch $@
Yes, it's just the same: you can pick any file in GEN_LIST and
use it in lieu of gen-stamp.
--
Alexandre Duret-Lutz