On Wed, 2011-04-27 at 20:41 +0530, Ajay Jain wrote:
> Is there a way by which I can print all exported variables from within
> a Makefile to sub-make? If yes, how?

Have a rule that runs env(1):

        printenv: ; @env
        .PHONY: printenv

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[email protected]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to