mirror of https://github.com/bsnes-emu/bsnes.git
What rhymes with "willows" and breaks when you edit a Makefile?
This commit is contained in:
parent
b6b56d0766
commit
006ee4f6cb
4
Makefile
4
Makefile
|
@ -16,8 +16,10 @@ endif
|
||||||
ifeq ($(PLATFORM),windows32)
|
ifeq ($(PLATFORM),windows32)
|
||||||
_ := $(shell chcp 65001)
|
_ := $(shell chcp 65001)
|
||||||
EXESUFFIX:=.exe
|
EXESUFFIX:=.exe
|
||||||
|
NATIVE_CC = clang -IWindows -Wno-deprecated-declarations
|
||||||
else
|
else
|
||||||
EXESUFFIX:=
|
EXESUFFIX:=
|
||||||
|
NATIVE_CC := cc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PB12_COMPRESS := build/pb12$(EXESUFFIX)
|
PB12_COMPRESS := build/pb12$(EXESUFFIX)
|
||||||
|
@ -390,7 +392,7 @@ $(OBJ)/BootROMs/SameBoyLogo.pb12: $(OBJ)/BootROMs/SameBoyLogo.2bpp $(PB12_COMPRE
|
||||||
$(realpath $(PB12_COMPRESS)) < $< > $@
|
$(realpath $(PB12_COMPRESS)) < $< > $@
|
||||||
|
|
||||||
$(PB12_COMPRESS): BootROMs/pb12.c
|
$(PB12_COMPRESS): BootROMs/pb12.c
|
||||||
cc -Wall -Werror $< -o $@
|
$(NATIVE_CC) -Wall -Werror $< -o $@
|
||||||
|
|
||||||
$(BIN)/BootROMs/agb_boot.bin: BootROMs/cgb_boot.asm
|
$(BIN)/BootROMs/agb_boot.bin: BootROMs/cgb_boot.asm
|
||||||
$(BIN)/BootROMs/cgb_boot_fast.bin: BootROMs/cgb_boot.asm
|
$(BIN)/BootROMs/cgb_boot_fast.bin: BootROMs/cgb_boot.asm
|
||||||
|
|
Loading…
Reference in New Issue