From 9da9ab3e4517328ffe0fd0aaf23e2056b705ad76 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Wed, 29 Aug 2018 22:50:22 +0200 Subject: Compile on mac --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2