From: Nguyen Thai Ngoc Duy Date: Sat, 19 Nov 2011 05:13:45 GMT Subject: Re: [PATCH] Makefile: explicitly set target name for autogenerated dependencies Message-ID: In-Reply-To: <20111118232324.GA8746@elie.hsd1.il.comcast.net> On Sat, Nov 19, 2011 at 6:23 AM, Jonathan Nieder wrote: > Luckily we can prevent trouble by explicitly supplying the name of the > target to ccache and gcc, using the -MQ option.  Do so. > > Reported-by: Nguyễn Thái Ngọc Duy > Signed-off-by: Jonathan Nieder > --- > Hi, > > Nguyen Thai Ngoc Duy wrote: > >> My builtin/.depend/add.o.d says >> >> add.o: .... cache.h ... >> >> Shouldn't it be "builtin/add.o: ... cache.h ..."? > > The following seems to do the trick for me.  Thanks again for catching > it. Works for me too. -- Duy