summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2019-11-23 15:07:38 +0100
committertomsmeding <tom.smeding@gmail.com>2019-11-23 15:07:38 +0100
commit6c1ec053b7cdc3ef173ea302cb9e804377f50aaf (patch)
tree3171b7c5201e430ae0ede8b667debfd53f0af46f
parentdcf1eef371adf5dee87787dc13279b6698d9a9a1 (diff)
Fix build
-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