From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Fri, 13 Sep 2013 19:24:40 +0800 Message-ID: <2246373.M3qL7djD5U@diderot> In-Reply-To: <1378847522-13776-11-git-send-email-sven@narfation.org> References: <1378847522-13776-1-git-send-email-sven@narfation.org> <1378847522-13776-11-git-send-email-sven@narfation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [B.A.T.M.A.N.] [PATCH 10/11] batctl: Don't fail rebuild when header is removed Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: b.a.t.m.a.n@lists.open-mesh.org Cc: Sven Eckelmann On Tuesday 10 September 2013 23:12:01 Sven Eckelmann wrote: > The *.d depends files for make just list the files used when building an > object file. Removing a file listed in such a dependency file causes make > to search for a way to recreate it. This usually cannot work because these > files aren't autogenerated. > > The gcc option -MP can be used to generate empty rule for these files. > Removing a file in a dependency list will then execute this empty rule and > continue with the execution of the creation of the object file. This > compilation process will then automatically correct the dependency file. > > Signed-off-by: Sven Eckelmann > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied in revision 4c5c86e. Thanks, Marek