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. --- src/mesa/drivers/dri/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mesa/drivers/dri/Makefile.am') diff --git a/src/mesa/drivers/dri/Makefile.am b/src/mesa/drivers/dri/Makefile.am index bdefe43cb6a..0c677a0eb18 100644 --- a/src/mesa/drivers/dri/Makefile.am +++ b/src/mesa/drivers/dri/Makefile.am @@ -77,6 +77,12 @@ all-local: mesa_dri_drivers.la ln -f $(top_builddir)/$(LIB_DIR)/mesa_dri_drivers.so \ $(top_builddir)/$(LIB_DIR)/$$i; \ done; + +clean-local: + $(AM_V_GEN)$(RM) $(top_builddir)/$(LIB_DIR)/mesa_dri_drivers.so; + $(AM_V_GEN)for i in $(MEGADRIVERS); do \ + $(RM) -f $(top_builddir)/$(LIB_DIR)/$$i; \ + done; endif # hardlink each megadriver instance, but don't actually have -- cgit v1.2.3