From e812f5e5b88b76b78f4cbafb9357a8fce630436a Mon Sep 17 00:00:00 2001 From: Tim Warren Date: Wed, 22 Apr 2015 11:06:25 -0400 Subject: [PATCH] More Makefile tweaking --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 2668d25..745f322 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ #Try using clang, if it's installed -ifneq (command -v clang,) - CC = clang - CXX = clang++ +ifneq (`command -v clang`,) + CC = clang + CXX = clang++ endif CXX += -Iinclude @@ -31,9 +31,9 @@ TESTS = $(patsubst %.cpp,%,$(TEST_SRC)) OS ?= $(shell uname -s) ifeq ($(OS),Darwin) - CXX += -std=c++98 -mmacosx-version-min=10.5 + CXX += -std=c++98 -mmacosx-version-min=10.5 else - CXX += -std=c++11 + CXX += -std=c++11 endif ifeq ($(OS),Windows_NT)