summaryrefslogtreecommitdiffstats
path: root/Rules.make
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.make')
-rw-r--r--Rules.make2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rules.make b/Rules.make
index 02bd086d..d76ac630 100644
--- a/Rules.make
+++ b/Rules.make
@@ -2,8 +2,10 @@
all: $(SHARED_LIBS) $(EXTRAS)
+# Have to handle extensions which no longer exist.
clean: $(EXTRA_CLEANS)
rm -f $(SHARED_LIBS) $(EXTRAS) $(SHARED_LIBS:%.so=%_sh.o)
+ @find . -name '*.[ao]' | xargs rm -f
install: all $(EXTRA_INSTALLS)