summaryrefslogtreecommitdiff
path: root/make/bsd-real.mk
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-16 22:42:36 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-16 22:42:36 +0000
commit3841c4b04a96389a4661535d12d5215a621d8736 (patch)
tree62098e63cc622d9889a9ed205a1c4487c8c20c84 /make/bsd-real.mk
parent558a44bf47370b68b14d0837bfae13c651ecf5c4 (diff)
Attempt to revert r11734
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11735 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/bsd-real.mk')
-rw-r--r--make/bsd-real.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/make/bsd-real.mk b/make/bsd-real.mk
index 1ea3e2916..13cb2cce8 100644
--- a/make/bsd-real.mk
+++ b/make/bsd-real.mk
@@ -1,5 +1,6 @@
VPATH = $(SOURCEPATH)/src
CORE_TARGS != perl -e 'chdir "$$ENV{SOURCEPATH}/src"; print join " ", grep s/\.cpp/.o/, <*.cpp>, <modes/*.cpp>'
+CMD_TARGS != perl -e 'chdir "$$ENV{SOURCEPATH}/src"; print join " ", grep s/\.cpp/.so/, <commands/*.cpp>'
MOD_TARGS != perl -e 'chdir "$$ENV{SOURCEPATH}/src"; print join " ", grep s/\.cpp/.so/, <modules/*.cpp>'
MDIR_TARGS != perl -e 'chdir "$$ENV{SOURCEPATH}/src"; print join " ", grep s!/?$$!.so!, grep -d, <modules/m_*>'
@@ -7,7 +8,9 @@ CORE_TARGS += socketengines/$(SOCKETENGINE).o threadengines/threadengine_pthread
DFILES != perl $(SOURCEPATH)/make/calcdep.pl -all
-all: inspircd modules
+all: inspircd commands modules
+
+commands: $(CMD_TARGS)
modules: $(MOD_TARGS) $(MDIR_TARGS)