Re: Strange GNU make behavior with -include ?

2002-12-04 Thread Grégoire Sutre
On Tuesday 03 December 2002 21:44, you wrote: %% Grégoire Sutre [EMAIL PROTECTED] writes: gs I was having errors with my Makefiles (for Objective Caml), and I could gs pinpoint the problem with the attached very simple Makefile. gs Basically (please see the attached Makefile), I use a:

Re: Strange GNU make behavior with -include ?

2002-12-04 Thread Paul D. Smith
%% Ted Stern [EMAIL PROTECTED] writes: ts I'll let Paul explain why, as I would probably make a botch of it. ;-) I think it's a bug :) As Gregoire points out, the fact that a non-intermediate target exists somewhere in the makefile shouldn't cause make's rebuilding of the included makefile to

Re: Strange GNU make behavior with -include ?

2002-12-04 Thread Ted Stern
On Wed, 4 Dec 2002, Grégoire Sutre wrote: The following makefile goes through: --- all: dummy-fake: %.depend : %.c touch $@ # Dependencies -include fake.depend --- localhost $ gmake make: Nothing

Re: Strange GNU make behavior with -include ?

2002-12-04 Thread Aymeric Vincent
Hi, Here is a patch (against GNU make 3.79.1, sorry) which fixes Gregoire's problem. However, I'm not used to GNU make, so I certainly overlooked something. The idea is that every RM_DONTCARE file gets its dontcare flag set, even if we already saw that file in some other rule. Then,

Re: AW: AW: [V.Khamenia@BioVisioN.de: Substitution References slowdown]

2002-12-04 Thread psmith
%% Khamenia, Valery [EMAIL PROTECTED] writes: Ah, OK, I understand now. I thought this was an example of doing it the fast way, and the other was an example of doing it the slow way. I'll try to generate a test case with similar sizes to what you have. kv Thank you a lot, Paul