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




_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to