summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-24 02:11:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-24 02:13:45 +0300
commitc5e54ca6234d9568e1185e1ff92f4d04c41faa6c (patch)
treeed5a86099956c00753d410dc637388480971a808 /src/Makefile.am
parent4e6c08b939fbfb1cd4a8a5653bd16d285b55150c (diff)
downloadManaVerse-c5e54ca6234d9568e1185e1ff92f4d04c41faa6c.tar.gz
ManaVerse-c5e54ca6234d9568e1185e1ff92f4d04c41faa6c.tar.bz2
ManaVerse-c5e54ca6234d9568e1185e1ff92f4d04c41faa6c.tar.xz
ManaVerse-c5e54ca6234d9568e1185e1ff92f4d04c41faa6c.zip
Add configure option for enable/disable CilkPlus support.
By default disabled.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c9951189e..8f6f457e7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -28,6 +28,11 @@ else
manaplus_SOURCES =
endif
+if ENABLE_CILKPLUS
+manaplus_CXXFLAGS += -DENABLE_CILKPLUS -fcilkplus -lcilkrts
+dyecmd_CXXFLAGS += -DENABLE_CILKPLUS -fcilkplus -lcilkrts
+endif
+
dyecmd_CXXFLAGS += -DDYECMD
dyecmd_SOURCES = gui/cliprect.cpp \
gui/color.cpp \