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: Paul Smith
Subject: Re: how to disable all checking of prerequisites
Date: Sat, 14 Nov 2009 14:15:53 -0500

On Sat, 2009-11-14 at 20:59 +0200, Eli Zaretskii wrote:
> >     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.

I just created it from the output of "ls", but see attached.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

Attachment: Makefile
Description: Text Data


reply via email to

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