mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +00:00
Nuke old VERSION OPT_FLAGS and add DEBUG flag
This commit is contained in:
parent
ad92b93b39
commit
caea5ec4cb
2 changed files with 6 additions and 8 deletions
10
Makefile
10
Makefile
|
@ -10,6 +10,8 @@ default: all
|
||||||
# These options can either be changed by modifying the makefile, or
|
# These options can either be changed by modifying the makefile, or
|
||||||
# by building with 'make SETTING=value'. 'make clean' may be required.
|
# by building with 'make SETTING=value'. 'make clean' may be required.
|
||||||
|
|
||||||
|
# Build debug version (default)
|
||||||
|
DEBUG ?= 1
|
||||||
# Version of the game to build
|
# Version of the game to build
|
||||||
VERSION ?= us
|
VERSION ?= us
|
||||||
# Graphics microcode used
|
# Graphics microcode used
|
||||||
|
@ -280,15 +282,11 @@ GODDARD_SRC_DIRS := src/goddard src/goddard/dynlists
|
||||||
MIPSISET := -mips2
|
MIPSISET := -mips2
|
||||||
MIPSBIT := -32
|
MIPSBIT := -32
|
||||||
|
|
||||||
ifeq ($(VERSION),eu)
|
ifeq ($(DEBUG),1)
|
||||||
OPT_FLAGS := -O2
|
OPT_FLAGS := -g
|
||||||
else
|
|
||||||
ifeq ($(VERSION),sh)
|
|
||||||
OPT_FLAGS := -O2
|
|
||||||
else
|
else
|
||||||
OPT_FLAGS := -O2
|
OPT_FLAGS := -O2
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
# Set BITS (32/64) to compile for
|
# Set BITS (32/64) to compile for
|
||||||
OPT_FLAGS += $(BITS)
|
OPT_FLAGS += $(BITS)
|
||||||
|
|
4
build.sh
4
build.sh
|
@ -7,8 +7,8 @@ LIBAFLA=libaudiofile.la
|
||||||
AUDDIR=./tools/audiofile-0.3.6
|
AUDDIR=./tools/audiofile-0.3.6
|
||||||
|
|
||||||
# Command line options
|
# Command line options
|
||||||
OPTIONS=("Analog Camera" "No Draw Distance" "Text-saves" "Smoke Texture Fix" "Clean build")
|
OPTIONS=("Analog Camera" "No Draw Distance" "Text-saves" "Smoke Texture Fix" "Release build" "Clean build")
|
||||||
EXTRA=("BETTERCAMERA=1" "NODRAWINGDISTANCE=1" "TEXTSAVES=1" "TEXTURE_FIX=1" "clean")
|
EXTRA=("BETTERCAMERA=1" "NODRAWINGDISTANCE=1" "TEXTSAVES=1" "TEXTURE_FIX=1" "DEBUG=0" "clean")
|
||||||
|
|
||||||
# Colors
|
# Colors
|
||||||
RED=$(tput setaf 1)
|
RED=$(tput setaf 1)
|
||||||
|
|
Loading…
Reference in a new issue