help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reuse recipe


From: Klaus Rudolph
Subject: reuse recipe
Date: Fri, 28 Jan 2011 12:01:05 +0100

Hi all,

is there a way to use recipe multiple times?

If I have the following Makefile:

%.x: %.yy
    <do something>

%.x: %.abc
    <do something>

I want to use <do something> for both rules without rewriting it.

Thanks
 Klaus

-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail



reply via email to

[Prev in Thread] Current Thread [Next in Thread]