mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Add NO_BZERO for MXE
This commit is contained in:
parent
f4a3757145
commit
3d7bdc300c
1 changed files with 8 additions and 0 deletions
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…
Add table
Reference in a new issue