More Makefile tweaking

This commit is contained in:
Tim Warren 2015-04-22 11:06:25 -04:00
parent 1532613c08
commit e812f5e5b8

View File

@ -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)