From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.nokia.com ([147.243.128.26] helo=mgw-da02.nokia.com) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1Q7pDW-0007QM-Cb for linux-mtd@lists.infradead.org; Thu, 07 Apr 2011 13:25:46 +0000 Received: from nokia.com (localhost [127.0.0.1]) by mgw-da02.nokia.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p37DPjwd027433 for ; Thu, 7 Apr 2011 16:25:45 +0300 Subject: Re: [PATCHv2] tests: introduce new target tests in Makefile From: Andy Shevchenko To: Artem.Bityutskiy@nokia.com In-Reply-To: <1302181805.2407.39.camel@localhost> References: <1302173079.2407.30.camel@localhost> <70d48001851ef7d188d07b2b0846548bd142f246.1302181786.git.ext-andriy.shevchenko@nokia.com> <1302181805.2407.39.camel@localhost> Content-Type: text/plain; charset="UTF-8" Date: Thu, 07 Apr 2011 16:27:04 +0300 Message-ID: <1302182824.689.6.camel@fs-test.research.nokia.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: linux-mtd@lists.infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2011-04-07 at 16:10 +0300, Artem Bityutskiy wrote: > On Thu, 2011-04-07 at 16:10 +0300, Andy Shevchenko wrote: > > + > > +tests:: > > + $(MAKE) -C $(TESTS) > > two colons? Yep, exactly. We have tests subdirectory, and we have tests rule in tests/Makefile. So, double colon here makes the rule a) independent, b) runs every time when asked. -- With Best Regards, Andy Shevchenko