help-make
[Top][All Lists]
Advanced

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

Re: Complex environment


From: Paul D. Smith
Subject: Re: Complex environment
Date: Tue, 10 Sep 2002 14:11:49 -0400

%% Michael Shapiro <address@hidden> writes:

  ms> I was assigned a task to understand the complex Makefile used on
  ms> Unix Systems Services under z/OS. Is there a way to see the gmake
  ms> internal structure (targets, prerequisites, and command) with
  ms> expanded variables after the first phase of gmake.

You have only two tools at your disposal right now:

 1) make -p will print the internal database of all rules and variables;
    however it doesn't come out in any particular order.

 2) make -d (and the specific subsets available via --debug) can help
    you figure out what rules are being invoked when.  Sometimes.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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