aboutsummaryrefslogtreecommitdiff
path: root/aberth/Makefile
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2019-04-20 14:32:58 +0200
committertomsmeding <tom.smeding@gmail.com>2019-04-20 14:32:58 +0200
commit3a4c7c4654d2e388a9ccbe0acf7479adb7881889 (patch)
tree77c862c69baae8470d4911bda90b21735d4c9890 /aberth/Makefile
parent4cde8f76d5dd3b27f91249efbf6a48be90603982 (diff)
Correct platform switch in Makefile
Diffstat (limited to 'aberth/Makefile')
-rw-r--r--aberth/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/aberth/Makefile b/aberth/Makefile
index 82e3260..99f0e16 100644
--- a/aberth/Makefile
+++ b/aberth/Makefile
@@ -2,7 +2,7 @@ CXX = g++
CXXFLAGS = -Wall -Wextra -std=c++17 -fwrapv $(OPTFLAGS)
OPTFLAGS = -O3 -ffast-math -march=native -mtune=native
LDFLAGS = -pthread
-ifeq ($(uname),Darwin)
+ifeq ($(shell uname),Darwin)
LDFLAGS += -framework OpenCL
else
LDFLAGS += -lOpenCL