What rhymes with "willows" and breaks when you edit a Makefile?
@@ -16,8 +16,10 @@ endif
ifeq ($(PLATFORM),windows32)
_ := $(shell chcp 65001)
EXESUFFIX:=.exe
+NATIVE_CC = clang -IWindows -Wno-deprecated-declarations
else
EXESUFFIX:=
+NATIVE_CC := cc
endif
PB12_COMPRESS := build/pb12$(EXESUFFIX)
@@ -390,7 +392,7 @@ $(OBJ)/BootROMs/SameBoyLogo.pb12: $(OBJ)/BootROMs/SameBoyLogo.2bpp $(PB12_COMPRE
$(realpath $(PB12_COMPRESS)) < $< > $@
$(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/cgb_boot_fast.bin: BootROMs/cgb_boot.asm
