httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Should $(OBJS): Makefile be there?
Date Fri, 30 May 1997 20:17:17 GMT
sameer wrote:
> 
> 	This is clearly not a proposed change for 1.2. I'm wondering,
> however, if this really should be there..
> 
> Makefile.tmpl has the line:
> 
> $(OBJS): Makefile
> 
> 	so that if the Makefile is modified, all the .o files need to
> be rebuilt... 
> 
> 	Seems to me, however, that the only dependency should be
> 
> httpd: $(REGLIB) $(OBJS) Makefile
> 
> 	because if Makefile gets modified it only affects which object
> files go in, not the contents of the individual object files. If you
> run "Configure" the only thing that changes is modules.c, which means
> that a new modules.o needs to be built, but no other object files need
> to be rebuilt.
> 
> 	Is that right? Am I missing something?
> 

I'm guessing that some people may Configure and then, at some
later time, say edit Makefile to change -O2 to -O or -g or
add -Wall (that kind of stuff). At this point, you do want the
object files redone :/

-- 
====================================================================
      Jim Jagielski            |       jaguNET Access Services
     jim@jaguNET.com           |       http://www.jaguNET.com/
                  "Not the Craw... the CRAW!"

Mime
View raw message