Makefile: use boost_regex-mt on Cygwin
This commit is contained in:
parent
0b23a4f67b
commit
bfbb44d994
|
@ -3,7 +3,14 @@ objects := $(addprefix ., $(sources:.cc=.o))
|
||||||
deps := $(addprefix ., $(sources:.cc=.d))
|
deps := $(addprefix ., $(sources:.cc=.d))
|
||||||
|
|
||||||
CXXFLAGS += -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -pedantic
|
CXXFLAGS += -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -pedantic
|
||||||
LIBS += -lncursesw -lboost_regex
|
LIBS += -lncursesw
|
||||||
|
|
||||||
|
os := $(shell uname -o)
|
||||||
|
ifeq ($(os),Cygwin)
|
||||||
|
LIBS += -lboost_regex-mt
|
||||||
|
else
|
||||||
|
LIBS += -lboost_regex
|
||||||
|
endif
|
||||||
|
|
||||||
debug ?= yes
|
debug ?= yes
|
||||||
ifeq ($(debug),yes)
|
ifeq ($(debug),yes)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user