Add linker flags for Windows

This commit is contained in:
Yamagi Burmeister 2012-06-03 15:20:59 +02:00
parent 280a432161
commit 9618483d48

View file

@ -152,6 +152,8 @@ ifeq ($(OSTYPE),Linux)
LDFLAGS := -L/usr/lib -lm -ldl LDFLAGS := -L/usr/lib -lm -ldl
else ifeq ($(OSTYPE),FreeBSD) else ifeq ($(OSTYPE),FreeBSD)
LDFLAGS := -L/usr/local/lib -lm LDFLAGS := -L/usr/local/lib -lm
else ifeq ($(OSTYPE),Windows)
LDFLAGS := -lws2_32 -lwinmm
endif endif
# ---------- # ----------