summaryrefslogtreecommitdiff
path: root/make/bsd-real.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/bsd-real.mk')
-rw-r--r--make/bsd-real.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/bsd-real.mk b/make/bsd-real.mk
index 4ae834329..8ae9bfe99 100644
--- a/make/bsd-real.mk
+++ b/make/bsd-real.mk
@@ -8,8 +8,8 @@ CORE_TARGS += modeclasses.a threadengines/threadengine_pthread.o
CORE_TARGS += socketengines/$(SOCKETENGINE).o
MOD_TARGS += modules/m_spanningtree.so
-DFILES != perl -e 'print join " ", grep s/\.cpp/.d/, <*.cpp>, <commands/*.cpp>, <modes/*.cpp>, <modules/*.cpp>, <modules/m_spanningtree/*.cpp>'
-DFILES += socketengines/$(SOCKETENGINE).d threadengines/threadengine_pthread.d
+DFILES != perl -e 'print join " ", grep s!([^/]+)\.cpp!.$$1.d!, <*.cpp>, <commands/*.cpp>, <modes/*.cpp>, <modules/*.cpp>, <modules/m_spanningtree/*.cpp>'
+DFILES += socketengines/.$(SOCKETENGINE).d threadengines/.threadengine_pthread.d
all: inspircd commands modules