Message ID | 5dca68dbcc29a1bdc8a866b9c3d1f19853ddde3c.1302700658.git.ext-andriy.shevchenko@nokia.com |
---|---|
State | Accepted |
Commit | 3c4668cfa1817dfd4d377ba1a966104d6edda1c0 |
Headers | show |
On Wed, 2011-04-13 at 16:20 +0300, Andy Shevchenko wrote: > The common.mk contains clean target that removes *.o and $(TARGETS). Thus, make > custom clean target only for libubi.a > > Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com> Pushed, thanks.
diff --git a/tests/ubi-tests/Makefile b/tests/ubi-tests/Makefile index d6be0dc..741a5c2 100644 --- a/tests/ubi-tests/Makefile +++ b/tests/ubi-tests/Makefile @@ -22,4 +22,4 @@ libubi.a: $(LIBUBI_SRC_PATH)/libubi.c $(LIBUBI_HEADER_PATH)/libubi.h $(LIBUBI_ $(TARGETS): $(addprefix $(BUILDDIR)/, common.o) libubi.a clean:: - rm -f $(TARGETS) $(addsuffix .o, $(TESTS)) libubi.* + rm -f libubi.a
The common.mk contains clean target that removes *.o and $(TARGETS). Thus, make custom clean target only for libubi.a Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com> --- tests/ubi-tests/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)