[Top][All Lists]

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

private with target-specific variables

From: Mario Schwalbe
Subject: private with target-specific variables
Date: Wed, 18 May 2011 15:02:55 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10


I'd like to report a bug (or a feature...), I discovered recently:
If the private keyword is used to define a target-specific variable, make
suppresses inheritance, but also tries to build a target `private' as
prerequisite. Using other keywords like export or unexport, work as
documented. The attached makefile reproduces the mentioned effect.

Please also reply to my address as I'm not subscribed to the mailing list.
In case this bug is already known, please ignore this request.

Thanks and ciao,
    Mario Schwalbe

For reference:

$ LC_ALL=C make -f Makefile.private-bug
make: *** No rule to make target `private', needed by `target'.  Stop.

$ LC_ALL=C make -v
GNU Make 3.81
This program built for x86_64-pc-linux-gnu

Attachment: Makefile.private-bug
Description: Text document

reply via email to

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