From b662d5282f77bec415ff430b94a5eb925d3f74e2 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 7 Dec 2014 11:30:58 -0800 Subject: mesa: Add clean-local rule to remove .lib links. --- install-lib-links.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'install-lib-links.mk') diff --git a/install-lib-links.mk b/install-lib-links.mk index 5ea7385370..6976ca4911 100644 --- a/install-lib-links.mk +++ b/install-lib-links.mk @@ -14,5 +14,11 @@ all-local : .libs/install-mesa-links ln -f $$f $(top_builddir)/$(LIB_DIR); \ fi; \ done && touch $@ + +clean-local: + for f in $(notdir $(lib_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*)); do \ + $(RM) $(top_builddir)/$(LIB_DIR)/$$f; \ + done; + endif endif -- cgit v1.2.3