Re: private with target-specific variables

2011-05-19 Thread Paul Smith
On Wed, 2011-05-18 at 15:02 +0200, Mario Schwalbe wrote: > $ LC_ALL=C make -f Makefile.private-bug > prereq: > make: *** No rule to make target `private', needed by `target'. Stop. > > $ LC_ALL=C make -v > GNU Make 3.81 The "private" feature was added in GNU make 3.82. It's not available in GNU

private with target-specific variables

2011-05-19 Thread Mario Schwalbe
Hi, 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