]> www.infradead.org Git - mtd-utils.git/commitdiff
tests: ubi-tests: clean libubi.a and *.o
authorAndy Shevchenko <ext-andriy.shevchenko@nokia.com>
Wed, 13 Apr 2011 13:20:29 +0000 (16:20 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 14 Apr 2011 12:35:46 +0000 (15:35 +0300)
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>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
tests/ubi-tests/Makefile

index d6be0dce6031543deedda5985b8f1978a2798d00..741a5c2386eac33ab670807ae8d10033202d89d4 100644 (file)
@@ -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