diff options
Diffstat (limited to 'make/gnu-real.mk')
-rw-r--r-- | make/gnu-real.mk | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/make/gnu-real.mk b/make/gnu-real.mk index 338a5112d..ea9843574 100644 --- a/make/gnu-real.mk +++ b/make/gnu-real.mk @@ -1,7 +1,6 @@ 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 @@ -9,15 +8,13 @@ MOD_TARGS += $(shell perl -e 'chdir "$$ENV{SOURCEPATH}/src"; print join " ", gre DFILES = $(shell perl $(SOURCEPATH)/make/calcdep.pl -all) -all: inspircd commands modules - -commands: $(CMD_TARGS) +all: inspircd modules modules: $(MOD_TARGS) inspircd: $(CORE_TARGS) $(RUNCC) -o $@ $(CORELDFLAGS) $(LDLIBS) $^ -.PHONY: all alldep commands modules +.PHONY: all alldep modules -include $(DFILES) |