Merge pull request #113 from RobLoach/patch-1

Use clang only if available
This commit is contained in:
Lior Halphon 2018-10-13 14:16:51 +03:00 committed by GitHub
commit 63fd5b4c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -35,7 +35,11 @@ BOOTROMS_DIR ?= $(BIN)/BootROMs
# Set tools
# Use clang if it's available.
ifneq (, $(shell which clang))
CC := clang
endif
ifeq ($(PLATFORM),windows32)
# To force use of the Unix version instead of the Windows version
MKDIR := $(shell which mkdir)