On Wed, 2011-04-27 at 20:39 +0530, Ajay Jain wrote:
> Hi,
> 
> I expect that if the Makefile is newer than the targets, all the
> targets (&dependencies) should just rebuild.

No, many people would find that completely unacceptable.

> i.e. if I do a touch Makefile & then a make, I should see EVERYTHING
> getting rebuilt. This does not happen. Is there a way to enforce it?

Declare the makefile to be a prerequisite of all your targets.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[email protected]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to