Makefile: Allow setting CC.

This commit is contained in:
orbea 2019-05-09 09:01:15 -07:00
parent 10be34b5b2
commit 5ce8cf5016

View File

@ -44,9 +44,11 @@ endif
# Set tools
# Use clang if it's available.
ifeq ($(origin CC),default)
ifneq (, $(shell which clang))
CC := clang
endif
endif
ifeq ($(PLATFORM),windows32)
# To force use of the Unix version instead of the Windows version