On Wed, 2011-04-27 at 20:37 +0530, Ajay Jain wrote:
> Hi,
> 
> My usecase is as follows:
> 
> out : objs
> 
> objs : 1.o 2.o 3.o
> 
> Now I want that (only) 2.o should always get regenerated, whenever I
> run make. How should I do it?

Add:
        .PHONY: 2.o

-- 
-------------------------------------------------------------------------------
 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