[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Force Build a Target
From: |
Paul Smith |
Subject: |
Re: Force Build a Target |
Date: |
Wed, 27 Apr 2011 11:14:48 -0400 |
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 <address@hidden> 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