Fix Windows build

This commit is contained in:
Timothy Warren 2015-05-28 22:28:06 -04:00
parent 73e1b1d634
commit af33d542b6

View File

@ -45,11 +45,13 @@ endif
ifeq ($(OS),Windows_NT) ifeq ($(OS),Windows_NT)
CXXFLAGS += -static CXXFLAGS += -static
CXX += -I/include -DWIN32 CXX += -std=gnu++11 -I/include -DWIN32
LDLIBS += -L/lib -lwsock32 LDLIBS += -L/lib -lwsock32
else
CXX += -std=c++11
endif endif
CXX += -std=c++11 -Wno-unknown-pragmas -Wno-unknown-warning-option -Wno-potentially-evaluated-expression -Wno-missing-field-initializers -Iinclude -I. -I/usr/local/include CXX += -Iinclude -I. -I/usr/local/include
ifdef $(DEV) ifdef $(DEV)
all: CXXFLAGS = $(DEV_CXXFLAGS) all: CXXFLAGS = $(DEV_CXXFLAGS)