help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to disable all checking of prerequisites


From: Eli Zaretskii
Subject: Re: how to disable all checking of prerequisites
Date: Sat, 14 Nov 2009 20:59:04 +0200

> From: Paul Smith <address@hidden>
> Date: Fri, 13 Nov 2009 22:20:32 -0500
> Cc: "address@hidden" <address@hidden>
> 
> I just tried this on my Linux box, by touching 1000 files:
> 
>     i=1; while [[ $i -le 1000 ]]; do touch foo$i; : $((++i)); done
> 
> then creating a makefile with nothing in it but a target "foo" listing
> all 1000 fooNNN files as prerequisites, and no rules to build any of
> them.
> 
> When I run normal make, it takes an average of 0.23s to run.
> 
> When I run make -r, it takes an average of 0.006s to run.

Can you show this Makefile?  I'd like to time that on my system.

Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]