mirror of https://github.com/sm64pc/sm64pc.git
Add NO_BZERO for MXE
This commit is contained in:
parent
f4a3757145
commit
3d7bdc300c
8
Makefile
8
Makefile
|
@ -22,6 +22,8 @@ TARGET_N64 = 0
|
||||||
|
|
||||||
# Build and optimize for Raspberry Pi(s)
|
# Build and optimize for Raspberry Pi(s)
|
||||||
TARGET_RPI ?= 0
|
TARGET_RPI ?= 0
|
||||||
|
# No BZERO (for building under MXE)
|
||||||
|
NO_BZERO ?= 0
|
||||||
# Compiler to use (ido or gcc)
|
# Compiler to use (ido or gcc)
|
||||||
COMPILER ?= ido
|
COMPILER ?= ido
|
||||||
|
|
||||||
|
@ -461,6 +463,12 @@ endif
|
||||||
|
|
||||||
# Check for enhancement options
|
# Check for enhancement options
|
||||||
|
|
||||||
|
# Check for no bzero option
|
||||||
|
ifeq ($(NO_BZERO),1)
|
||||||
|
CC_CHECK += -DNO_BZERO
|
||||||
|
CFLAGS += -DNO_BZERO
|
||||||
|
endif
|
||||||
|
|
||||||
# Check for Puppycam option
|
# Check for Puppycam option
|
||||||
ifeq ($(BETTERCAMERA),1)
|
ifeq ($(BETTERCAMERA),1)
|
||||||
CC_CHECK += -DBETTERCAMERA
|
CC_CHECK += -DBETTERCAMERA
|
||||||
|
|
Loading…
Reference in New Issue