On 27.04.2011 18:07, 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?

Mark '2.o'  as PHONY target:

.PHONY: 2.o

But this cause 'objs' and 'out' always rebuild.

--
С уважением, Александр Гавенко.

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

Reply via email to