mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-25 23:37:00 +02:00
Makefile: Allow setting CC.
This commit is contained in:
2
Makefile
2
Makefile
@@ -44,9 +44,11 @@ endif
|
|||||||
# Set tools
|
# Set tools
|
||||||
|
|
||||||
# Use clang if it's available.
|
# Use clang if it's available.
|
||||||
|
ifeq ($(origin CC),default)
|
||||||
ifneq (, $(shell which clang))
|
ifneq (, $(shell which clang))
|
||||||
CC := clang
|
CC := clang
|
||||||
endif
|
endif
|
||||||
|
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
|
||||||
|
Reference in New Issue
Block a user