tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronnie Brunner <ron...@netcetera.ch>
Subject Re: Make bug (dependency problem)
Date Thu, 07 Mar 2002 15:10:48 GMT
That should easy to fix:

have some versionless targets w/o any rule, just dependencies

     websh: websh$(VERSION)
     mod_websh: mod_websh$(VERSION).so

and the only have the version specific real targets

     websh$(VERSION): deps
             rules		 

     mod_websh$(VERSION).so: deps
             rules		 

(I just tried this with websh and it works perfectly, my first try
with the mod_websh target didn't work, but I didn't look at it ...)

> Ronnie bugzilla writes:
> 
> > make always links websh, even if it is up-to-date
> 
> Yes - the Makefile target is mod_websh.so, whereas the file created
> doesn't have that name.
> 
> We could always do a 'touch mod_websh.so', but I think that that
> solution is uglier than the problem.
> 

------------------------------------------------------------------------
Ronnie Brunner                               ronnie.brunner@netcetera.ch
Netcetera AG, 8040 Zuerich    phone +41 1 247 79 79 Fax: +41 1 247 70 75

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-dev-help@tcl.apache.org


Mime
View raw message