I have a suitation where I need to extend a rule with additional commands after the
rule has already been defined.
====== makefile =======
mybuild:
gcc file1.c
include addendum.mak
=======================
===== addendum.mak ======
mybuild:
gcc file2.c
=========================
Right now make gives me a warning "ignoring old commands for target"
Is there a way by which I can get make to combine both set of commands (and
dependencies)?
ie, the end result should be:
mybuild:
gcc file1.c
gcc file2.c
-
Sekhar Nori
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-make