diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-11-07 18:49:12 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-11-07 18:49:12 +0000 |
| commit | bfbb44d994434c2b0c1c8a8d50f35fa74ea49d81 (patch) | |
| tree | 401b08cb8bdf3c1ca41b29ce84c912de55e37ea9 /src | |
| parent | 0b23a4f67b4e9e7db114635f8678c95e3b385c2f (diff) | |
Makefile: use boost_regex-mt on Cygwin
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index c3a339b6..e01c4dc9 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,7 +3,14 @@ objects := $(addprefix ., $(sources:.cc=.o)) deps := $(addprefix ., $(sources:.cc=.d)) 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 ifeq ($(debug),yes) |
