mirror of https://github.com/bsnes-emu/bsnes.git
Update Makefile to use clang if it's available
This commit is contained in:
parent
7854686903
commit
86005bcfb8
6
Makefile
6
Makefile
|
@ -34,6 +34,12 @@ OBJ := build/obj
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue