[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how can i get a list of prerequisites for a target
From: |
Paul D. Smith |
Subject: |
Re: how can i get a list of prerequisites for a target |
Date: |
Tue, 27 May 2003 07:52:42 -0400 |
%% address@hidden writes:
bg> I have a target as the following:
bg> all : lib target java idl
bg> How can I get the list of prerequisites for the target all.
If you mean within the command script, then you can use the $^ automatic
variable:
all: lib target java idl
@echo $^
See the GNU make manual section on automatic variables for the complete
list.
--
-------------------------------------------------------------------------------
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