[Top][All Lists]

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

Re: Feature request: list makefile targets

From: Paul D. Smith
Subject: Re: Feature request: list makefile targets
Date: Wed, 3 May 2006 08:36:37 -0400

%% Francesco Montorsi <address@hidden> writes:

  fm> I couldn't find an option in my GNU make 3.81 to be able to print a 
  fm> list of the targets declared in a Makefile.

You can use "make -p" and massage the output.

  fm> I think this option would indeed be very very useful and thus I
  fm> hope someone with better make-knowledge will implement it. If
  fm> noone is working on it, I'll have a look at GNU make sources ASAP
  fm> so that, if maintainers say that they will accept it, I can try to
  fm> make a patch.

This is on the TODO list.  I started to implement it back when I added
the .VARIABLES variable, but it turns out this is trickier to get right
than it seems up-front.

 Paul D. Smith <address@hidden>          Find some GNU make tips at:            
 "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]