[Top][All Lists]
[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
- reuse recipe,
Klaus Rudolph <=