summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3edc3f0..3d4f9b3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,8 @@
-CXX = g++
+ifeq ($(shell uname),Darwin)
+ CXX = g++-8
+else
+ CXX = g++
+endif
CXXFLAGS = -Wall -Wextra -O2 -std=c++17 -fwrapv -pthread
TARGET = competition