help-make
[Top][All Lists]
Advanced

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

why is ./foobar target noted as foobar ??


From: Mark Galeck (CW)
Subject: why is ./foobar target noted as foobar ??
Date: Thu, 1 Mar 2012 10:00:12 -0800

Hello,

With this makefile

./foobar:
                touch $@

make prints "touch foobar" .  Why not "./foobar" ?!!

Should be "./foobar".    This actually directly causes a problem with the 
compilation of Linux kernel under some conditions.  The target  bounds-file := 
./include/generated/bounds.h is added to $(targets), and the diagnostics in its 
recipe erroneously reports that $@ is _not_ in $(targets).


Mark



reply via email to

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