summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--plugins/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 738ccfc..5b221a9 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ BIN = cserver
PLUGINDIR = plugins
-PLUGINS = $(patsubst $(PLUGINDIR)/%,%,$(shell find $(PLUGINDIR)/ -maxdepth 1 -type d))
+PLUGINS = $(patsubst $(PLUGINDIR)/%,%,$(shell find $(PLUGINDIR) -mindepth 1 -maxdepth 1 -type d))
.PHONY: all clean remake
diff --git a/plugins/Makefile b/plugins/Makefile
index 03501e4..130ee0f 100644
--- a/plugins/Makefile
+++ b/plugins/Makefile
@@ -23,7 +23,7 @@ TARGET = $(PLUGINNAME)/$(PLUGINNAME).$(SO_EXT)
all: warning $(TARGET)
clean:
- rm -rf $(TARGET) $(PLUGINNAME)/*.{o,dSYM}
+ rm -rf $(TARGET) $(PLUGINNAME)/*.{o,dSYM,$(SO_EXT)}
remake: clean all