summaryrefslogtreecommitdiff
path: root/make/gnu-real.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/gnu-real.mk')
-rw-r--r--make/gnu-real.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/make/gnu-real.mk b/make/gnu-real.mk
index ea9843574..338a5112d 100644
--- a/make/gnu-real.mk
+++ b/make/gnu-real.mk
@@ -1,6 +1,7 @@
SRC = $(SOURCEPATH)/src
VPATH = $(SRC)
CORE_TARGS = $(patsubst $(SRC)/%.cpp,%.o,$(wildcard $(SRC)/*.cpp $(SRC)/modes/*.cpp))
+CMD_TARGS = $(patsubst $(SRC)/%.cpp,%.so,$(wildcard $(SRC)/commands/*.cpp))
MOD_TARGS = $(patsubst $(SRC)/%.cpp,%.so,$(wildcard $(SRC)/modules/*.cpp))
CORE_TARGS += socketengines/$(SOCKETENGINE).o threadengines/threadengine_pthread.o
@@ -8,13 +9,15 @@ MOD_TARGS += $(shell perl -e 'chdir "$$ENV{SOURCEPATH}/src"; print join " ", gre
DFILES = $(shell perl $(SOURCEPATH)/make/calcdep.pl -all)
-all: inspircd modules
+all: inspircd commands modules
+
+commands: $(CMD_TARGS)
modules: $(MOD_TARGS)
inspircd: $(CORE_TARGS)
$(RUNCC) -o $@ $(CORELDFLAGS) $(LDLIBS) $^
-.PHONY: all alldep modules
+.PHONY: all alldep commands modules
-include $(DFILES)