Makefiles don't seem to remember to rebuild everything anymore - Mailing list pgsql-hackers

From Tom Lane
Subject Makefiles don't seem to remember to rebuild everything anymore
Date
Msg-id 7769.1355522531@sss.pgh.pa.us
Whole thread Raw
Responses Re: Makefiles don't seem to remember to rebuild everything anymore
List pgsql-hackers
In a fully-built source tree:

$ cd pgsql/src/backend/parser
$ make
make: Nothing to be done for `all'.
... okay so far ...
$ rm gram.o
rm: remove regular file `gram.o'? y
$ make
make: Nothing to be done for `all'.

WTF?

If I also remove objfiles.txt then make wakes up and remembers it's
supposed to do something.

I can reproduce this with both make 3.81 and 3.82, so I think it's a bug
in our makefiles not make.  I don't immediately see where the problem
is though.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Parser Cruft in gram.y
Next
From: Tom Lane
Date:
Subject: Re: Assert for frontend programs?