More Makefile tweaking
This commit is contained in:
parent
1532613c08
commit
e812f5e5b8
10
Makefile
10
Makefile
@ -1,7 +1,7 @@
|
|||||||
#Try using clang, if it's installed
|
#Try using clang, if it's installed
|
||||||
ifneq (command -v clang,)
|
ifneq (`command -v clang`,)
|
||||||
CC = clang
|
CC = clang
|
||||||
CXX = clang++
|
CXX = clang++
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CXX += -Iinclude
|
CXX += -Iinclude
|
||||||
@ -31,9 +31,9 @@ TESTS = $(patsubst %.cpp,%,$(TEST_SRC))
|
|||||||
OS ?= $(shell uname -s)
|
OS ?= $(shell uname -s)
|
||||||
|
|
||||||
ifeq ($(OS),Darwin)
|
ifeq ($(OS),Darwin)
|
||||||
CXX += -std=c++98 -mmacosx-version-min=10.5
|
CXX += -std=c++98 -mmacosx-version-min=10.5
|
||||||
else
|
else
|
||||||
CXX += -std=c++11
|
CXX += -std=c++11
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
|
Loading…
Reference in New Issue
Block a user