summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2022-10-04 15:35:05 +0200
committerJaron Kent-Dobias <jaron@kent-dobias.com>2022-10-04 15:35:05 +0200
commitc6a8f62d7b8784ffdf27229fa711f990b5793c19 (patch)
treebfb5e7e8a4f7cbfd649b03590aae91b74c1cb039 /Makefile
parent352e1be1bf05de2ba75f93b8375ac52036c8203e (diff)
downloadcode-c6a8f62d7b8784ffdf27229fa711f990b5793c19.tar.gz
code-c6a8f62d7b8784ffdf27229fa711f990b5793c19.tar.bz2
code-c6a8f62d7b8784ffdf27229fa711f990b5793c19.zip
Added cheap parallelization.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3c6169b..84be93f 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ BLOSSOM_DIRS := $(BLOSSOM_DIR) $(BLOSSOM_DIR)/MinCost $(BLOSSOM_DIR)/GEOM
BLOSSOM_SOURCES := $(filter-out $(BLOSSOM_DIR)/example.cpp, $(foreach dir, $(BLOSSOM_DIRS), $(wildcard $(dir)/*.cpp)))
BLOSSOM_OBJS := $(patsubst %.cpp, %.o, $(BLOSSOM_SOURCES))
-CFLAGS := -flto -O3 -Os -march=native -D_NDEBUG -DPERFECT_MATCHING_DOUBLE
+CFLAGS := -flto -fopenmp -O3 -Os -march=native -D_NDEBUG -DPERFECT_MATCHING_DOUBLE
CXX = clang++
LD = ld.lld
LIBS := -lrt