summaryrefslogtreecommitdiff
path: root/plugins/Makefile
Side-by-side diff
Diffstat (limited to 'plugins/Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--plugins/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Makefile b/plugins/Makefile
index 2515903..ea1aba8 100644
--- a/plugins/Makefile
+++ b/plugins/Makefile
@@ -1,6 +1,8 @@
+include ../.config
+
clean:
-ifeq ( CONFIG_TARGET_MACOSX, y )
+ifdef CONFIG_TARGET_MACOSX
find ./ -name "*.dylib*" -print0 | xargs -0 rm -f
else
find ./ -name "*.so*" -print0 | xargs -0 rm -f
endif