Improve toplevel Makefile "all" target to work better with parallel make

Change the all: target in the toplevel Makefile so that it doesn't try to
resolve build dependencies at the top level - instead, it just recursively
builds the all: target in source/ and dll/.

Change the all: target in the source/Makefile so that it builds the EXTRAS
(scr-bx and wserv) as well as the main client binary.

The upshot of all this is that one "make" invocation is responsible for both
scr-bx and wserv, which is necessary for parallel make (make -j) to work
correctly as these binaries share some object files.
This commit is contained in:
Kevin Easton
2016-02-19 22:54:50 +11:00
parent 04f5138a6c
commit f2ae2327e3
2 changed files with 18 additions and 26 deletions

View File

@@ -171,7 +171,7 @@ OBJECTS = alias.o alist.o @ALLOCA@ array.o art.o banlist.o bot_link.o cdcc.o \
SOURCES = $(OBJECTS:%.o=%.c) #$(TCL_SRCS)
all: $(_VERSION_)
all: $(_VERSION_) wserv scr-bx
Makefile: $(srcdir)/Makefile.in
cd $(topdir) \