diff options
author | tomsmeding <tom.smeding@gmail.com> | 2018-08-29 22:50:22 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2018-08-29 22:50:22 +0200 |
commit | 9da9ab3e4517328ffe0fd0aaf23e2056b705ad76 (patch) | |
tree | 9f2a5afb74cf68d583e4c69575a1b2deeb0a0a15 /Makefile | |
parent | 974a5a213bd780f5021c3e3d40ffad05e3c0a23e (diff) |
Compile on mac
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |