help-make
[Top][All Lists]
Advanced

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

figuring out the target name?


From: mcmahill
Subject: figuring out the target name?
Date: Sun, 29 Sep 2002 00:56:35 -0400 (EDT)

Is there a way to figure out the name of the top level target?  Ie,  I
want to do something like:


.if make(*-draft)
DRAFT_FLAGS+=   -draft
.endif

so if I specify foo-draft as my target via 'gmake foo-draft' i trigger
that extra variable addition.

Thanks
-Dan






reply via email to

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