I've never needed anything more than order-only prerequisites along these lines.
http://www.gnu.org/software/make/manual/make.html#Prerequisite-Types Here's a quick example. dir/file : | dir/ ; touch $@ dir/ : ; mkdir -p $@ In this case dir/ is an order-only prerequisite of dir/file. The timestamp of dir/ isn't considered when updating dir/file, only its existence. Ken On 10/16/06, Aditya Kher <[EMAIL PROTECTED]> wrote:
I was looking for something similar to this. http://savannah.gnu.org/support/?104345 at minimum, a tip on "make-style" existence checking for a prerequiste, say a directory. how do i do that? -- Aditya Kher http://kher.org _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
_______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
