On Tue, Nov 18, 2008 at 03:30:49PM -0400, Marko Schütz wrote: > Dear All, > > I think I may have found a bug in make. > > With the attached test.mk and a subdirectory containing a file test.c > I would expect the output > > dependency rule finds test/test.c on . /home/marko/tmp test > "exists" finds test.c on . /home/marko/tmp test > > instead the resulting output is > > dependency rule finds test/test.c on . /home/marko/tmp test > "exists" does not find test.c on . /home/marko/tmp test > > Am I missing something here? I'm not sure why you expect a .if test, which has to be evaluated at parsing time, to be of any use with a variable whose value is set at target evaluation time. -- Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost "See the look on my face from staying too long in one place [...] every time the morning breaks I know I'm closer to falling" KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
Description: PGP signature