On Wed, 2008-03-26 at 16:22 -0700, Adam Bennett wrote:
> somedir/%: $*
>     cp $* somedir

somedir/%: %
    cp $* somedir

Read up on "Pattern Rules" in the GNU make manual.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.us
 "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

Reply via email to