|
From: | Erik Rull |
Subject: | Re: Ordering targets as arguments |
Date: | Tue, 16 Nov 2010 18:27:47 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.15) Gecko/20101027 Lightning/1.0b1 SeaMonkey/2.0.10 |
Paul Smith wrote:
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"?
Yeah, you're right :-)Well some special constraints might cause an "interesting" behavior, but there are no automated calls for this makefile - so the users/programmers will select the targets during development when typing the make command.
And if there is nothing to copy just nothing will happen... Best regards, Erik
[Prev in Thread] | Current Thread | [Next in Thread] |