mirror of https://github.com/bsnes-emu/bsnes.git
Merge pull request #113 from RobLoach/patch-1
Use clang only if available
This commit is contained in:
commit
63fd5b4c10
4
Makefile
4
Makefile
|
@ -35,7 +35,11 @@ BOOTROMS_DIR ?= $(BIN)/BootROMs
|
||||||
|
|
||||||
# Set tools
|
# Set tools
|
||||||
|
|
||||||
|
# Use clang if it's available.
|
||||||
|
ifneq (, $(shell which clang))
|
||||||
CC := clang
|
CC := clang
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(PLATFORM),windows32)
|
ifeq ($(PLATFORM),windows32)
|
||||||
# To force use of the Unix version instead of the Windows version
|
# To force use of the Unix version instead of the Windows version
|
||||||
MKDIR := $(shell which mkdir)
|
MKDIR := $(shell which mkdir)
|
||||||
|
|
Loading…
Reference in New Issue