mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-21 19:45:10 +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
|
||||
# by building with 'make SETTING=value'. 'make clean' may be required.
|
||||
|
||||
# Build debug version (default)
|
||||
DEBUG ?= 1
|
||||
# Version of the game to build
|
||||
VERSION ?= us
|
||||
# Graphics microcode used
|
||||
|
@ -280,15 +282,11 @@ GODDARD_SRC_DIRS := src/goddard src/goddard/dynlists
|
|||
MIPSISET := -mips2
|
||||
MIPSBIT := -32
|
||||
|
||||
ifeq ($(VERSION),eu)
|
||||
OPT_FLAGS := -O2
|
||||
else
|
||||
ifeq ($(VERSION),sh)
|
||||
OPT_FLAGS := -O2
|
||||
ifeq ($(DEBUG),1)
|
||||
OPT_FLAGS := -g
|
||||
else
|
||||
OPT_FLAGS := -O2
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set BITS (32/64) to compile for
|
||||
OPT_FLAGS += $(BITS)
|
||||
|
|
4
build.sh
4
build.sh
|
@ -7,8 +7,8 @@ LIBAFLA=libaudiofile.la
|
|||
AUDDIR=./tools/audiofile-0.3.6
|
||||
|
||||
# Command line options
|
||||
OPTIONS=("Analog Camera" "No Draw Distance" "Text-saves" "Smoke Texture Fix" "Clean build")
|
||||
EXTRA=("BETTERCAMERA=1" "NODRAWINGDISTANCE=1" "TEXTSAVES=1" "TEXTURE_FIX=1" "clean")
|
||||
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" "DEBUG=0" "clean")
|
||||
|
||||
# Colors
|
||||
RED=$(tput setaf 1)
|
||||
|
|
Loading…
Reference in a new issue