help-make
[Top][All Lists]
Advanced

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

Can you export rules in Make?


From: Ajay Jain
Subject: Can you export rules in Make?
Date: Mon, 4 Apr 2011 20:41:18 +0530

Hi,

I have a recursive make system, where a top level makefile just calls
the makefile of a subdirectory. I export variables from top level to
sub make. Now I realize that I have to repeat all rules. Is there a
way .. by which even the rules can be communicated from top level make
to the sub make? OR should I just include a common rules.mk in both
the Makefiles? OR anything else?

Regards,
Ajay.



reply via email to

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