mirror of
https://github.com/libretro/bsnes-libretro.git
synced 2024-11-23 17:09:44 +00:00
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
Block a user