help-make
[Top][All Lists]
Advanced

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

Re: makefile changes ignored


From: Philip Guenther
Subject: Re: makefile changes ignored
Date: Thu, 3 Dec 2009 10:35:23 -0800

On Thu, Dec 3, 2009 at 1:06 AM, angelo <address@hidden> wrote:
> i am having a very strange issue with make on OSX Leopard. This issue anyway
> is probably related to the operative system someway, but i try to explain.
>
> Problem happen actually with GNU-Make 3.79.1 or 3.81
>
> I have a Makefile with a target. Doing changes on it and executing again
> "make target" generally works.
> Some time, for some unknown reason, generally after an error while making is
> happen, any further changes on the makefile are ignored from make,
> and i still get the previous  make output, like if i didn't make any changes
> on the makefile.
>
> I try to reboot, the makefile is modified, but i still get the old output,
> before the makefile was modified.
>
> It seems that the old Makefile is cached someway and is still used instead
> of the new.

Grasping at straws, but could this be related to OS X's
case-preserving filesystem?  Could you somehow be ending up with both
"makefile" and "Makefile", where the former is the original one and
the latter is your version with changes?  GNU make looks for the
former first, which would explain the behavior, but I don't think it's
actually possible to have both those files in the same directory on a
case-preserving filesystem...

Anyway, I suggest you check your filenames carefully and use the -d
option to see what file(s) make is actually reading.


Philip Guenther




reply via email to

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