summaryrefslogtreecommitdiff
path: root/make/bsd-dep.mk
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 15:05:11 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 15:05:11 +0000
commit944d154befc9e27b121d221074f4b24af500011b (patch)
tree8119ed36f8a4e6dd10467ba2f6f4a2bcf4c804da /make/bsd-dep.mk
parentee0d8addcea381775c98dc1e40031a0d658636b6 (diff)
Re-implement dependency generation in perl to increase speed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11559 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/bsd-dep.mk')
-rw-r--r--make/bsd-dep.mk13
1 files changed, 4 insertions, 9 deletions
diff --git a/make/bsd-dep.mk b/make/bsd-dep.mk
index 4d2f8e1dc..2e816bdb4 100644
--- a/make/bsd-dep.mk
+++ b/make/bsd-dep.mk
@@ -1,10 +1,5 @@
-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 " ", <*.cpp>, <commands/*.cpp>, <modes/*.cpp>, <modules/*.cpp>, <modules/m_spanningtree/*.cpp>'
+DFILES += socketengines/$(SOCKETENGINE).cpp threadengines/threadengine_pthread.cpp
-alldep: $(DFILES)
-
-.SUFFIXES: .d .cpp
-
-.cpp.d:
- @../make/calcdep.pl $<
- @echo -n .
+alldep:
+ ../make/calcdep.pl $(DFILES)