Fix Windows build
This commit is contained in:
parent
73e1b1d634
commit
af33d542b6
6
Makefile
6
Makefile
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user