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 <[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] http://lists.gnu.org/mailman/listinfo/help-make
