-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sam Yates wrote:
> Can anyone offer suggestions as to how to make make 3.81
> perform this feat?
What about doing something evil like:
foo.sentinel:
touch $@
FOO_MAKER = $(shell touch foo.sentinel)
foo:
bar: _DUMMY := $(FOO_MAKER)
bar: foo foo.sentinel
@echo Making $@
Basically I've stuck the foo-maker target inside a target specific
variable for bar which means that it'll get run before bar's targets.
John.
- --
John Graham-Cumming
[EMAIL PROTECTED]
Home: http://www.jgc.org/
Blog: http://www.jgc.org/blog/
POPFile: http://getpopfile.org/
GNU Make Standard Library: http://gmsl.sf.net/
GNU Make Debugger: http://gmd.sf.net/
Fast, Parallel Builds: http://www.electric-cloud.com/
Sign up for my Spam and Anti-spam Newsletter
at http://www.jgc.org/
Help out in the fight against spam
http://www.spamorham.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF2bj1Lphrp73n/hARAkkQAKCPq1uP6xIph0hPEpx0Zas2NjoPWQCeNjqK
Ldy82NW2Nh51GHiWS8VKSIo=
=rIbY
-----END PGP SIGNATURE-----
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make