[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple targets generated by one rule
From: |
John Graham-Cumming |
Subject: |
Re: Multiple targets generated by one rule |
Date: |
Thu, 17 May 2007 09:42:17 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040208 Thunderbird/0.5 Mnenhy/0.6.0.104 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hkhalsa wrote:
> Paul Smith wrote:
>> You can write this much more cleanly, like this:
>>
>> a b c d: .source_flag
>> @:
>>
>> .source_flag: source
>> blackbox_generate a b c d
>> @touch .source_flag
>
> This method appears to suffer from the following limitation: If a b c or d
> are deleted and the temporary file is left intact, the command to regenerate
> a b c d will no longer run. Is there a way to cause make to reissue the
> blackbox_generate command?
I wrote an article about this topic for CM Crossroads recently the
covers the problem you are highlighting:
http://www.cmcrossroads.com/content/view/7970/268/
John.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGTAdYLphrp73n/hARAomeAKDKrDrvlTC4cXtE+sW1FJcELXjhgACg3J8s
GDVGMYb3xlzZ9dgu7/izz60=
=eg/X
-----END PGP SIGNATURE-----