From 6c1ec053b7cdc3ef173ea302cb9e804377f50aaf Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sat, 23 Nov 2019 15:07:38 +0100 Subject: Fix build --- Makefile | 2 +- plugins/Makefile | 2 +- 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 -- cgit v1.2.3-70-g09d2