summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/bsd-real.mk4
-rw-r--r--make/gnu-real.mk2
2 files changed, 2 insertions, 4 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
diff --git a/make/gnu-real.mk b/make/gnu-real.mk
index e0a8af68f..489e1bbdf 100644
--- a/make/gnu-real.mk
+++ b/make/gnu-real.mk
@@ -27,9 +27,7 @@ inspircd: $(CORE_TARGS)
$(RUNCC) $(FLAGS) $(CORE_FLAGS) -o inspircd $(LDLIBS) $(CORE_TARGS)
.%.d: %.cpp
- @$(VDEP_IN)
@../make/calcdep.pl $<
- @$(VDEP_OUT)
.PHONY: all alldep commands modules