From 7c909bab080d59a7960def5b2b039e2b7c3d3263 Mon Sep 17 00:00:00 2001 From: marketideas Date: Fri, 15 Nov 2019 04:43:04 -0800 Subject: [PATCH] clang/gcc --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ce6419b..26eaecd 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,12 @@ -#export CC=/usr/bin/clang -#export CXX=/usr/bin/clang++ +export USE_CLANG=1 +ifeq ($(USE_CLANG),1) +export CXX=/usr/bin/clang++ +export CC=/usr/bin/clang +else +export CXX=g++ +export CC=gcc +endif V?= S=