summaryrefslogtreecommitdiff
path: root/src/master/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/master/Makefile')
-rw-r--r--src/master/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/master/Makefile b/src/master/Makefile
index df2deed4..dab5c08a 100644
--- a/src/master/Makefile
+++ b/src/master/Makefile
@@ -3,16 +3,16 @@ BD_RELEASE=release-$(PLATFORM)-$(ARCH)
ifeq ($(PLATFORM),mingw32)
BINEXT=.exe
- RELEASE_LDFLAGS=-lwsock32
- DEBUG_LDFLAGS=-lwsock32
- RM=del
- MKDIR=mkdir
+ RELEASE_LDFLAGS=-lwsock32
+ DEBUG_LDFLAGS=-lwsock32
+ RM=del
+ MKDIR=mkdir
else
BINEXT=
- RELEASE_LDFLAGS=
- DEBUG_LDFLAGS=
- RM=rm -f
- MKDIR=mkdir
+ RELEASE_LDFLAGS=-static -ltdb
+ DEBUG_LDFLAGS=-static -ltdb
+ RM=rm -f
+ MKDIR=mkdir
endif
CC=gcc
@@ -21,6 +21,7 @@ DEBUG_CFLAGS=-g
OBJECTS= \
$(BD)/master.o \
$(BD)/messages.o \
+ $(BD)/stats.o \
$(BD)/servers.o
release: makedirs