[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ordering targets as arguments
From: |
Paul Smith |
Subject: |
Re: Ordering targets as arguments |
Date: |
Tue, 16 Nov 2010 08:44:38 -0500 |
On Mon, 2010-11-15 at 23:59 +0100, Erik Rull wrote:
> yeah, the last line was my solution, but I set it to:
>
> copy_object: $(filter copy_object,$(MAKECMDGOALS))
> [...]
I'm pretty sure that's not what you used: that would be an infinite
recursion and make would kick it out.
Maybe you meant filter-out above, not filter?
If so you should be careful; what about something like "make clean"?
--
-------------------------------------------------------------------------------
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