summaryrefslogtreecommitdiffstats
path: root/util_lib
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2007-12-13 16:18:53 +0900
committerSimon Horman <horms@verge.net.au>2007-12-19 14:50:07 +0900
commit4b3340f33467aa1bebfa05791dc53bbaf1028381 (patch)
tree124e1bec919e133fe6558ff023afc457ac906517 /util_lib
parent3f871456d4d350b5abdb2b7fdcfedec5743d6db2 (diff)
downloadkexec-tools-4b3340f33467aa1bebfa05791dc53bbaf1028381.tar.gz
make clean cleanup
Use a $(clean) variable to store all items that need to be removed on 'make clean' (eg, .o files). Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Simon Horman <horms@verge.net.au> Conflicts: Makefile.in
Diffstat (limited to 'util_lib')
-rw-r--r--util_lib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/util_lib/Makefile b/util_lib/Makefile
index 35ee9e73..5b4bd22f 100644
--- a/util_lib/Makefile
+++ b/util_lib/Makefile
@@ -10,6 +10,8 @@ UTIL_LIB = libutil.a
-include $(UTIL_LIB_DEPS)
+clean += $(UTIL_LIB_OBJS) $(UTIL_LIB_DEPS) $(UTIL_LIB)
+
$(UTIL_LIB): CPPFLAGS += -I$(srcdir)/util_lib/include
$(UTIL_LIB): $(UTIL_LIB_OBJS)