Files
illusion-arena-engine/Makefile.IA
2025-07-08 14:35:03 -03:00

57 lines
1.6 KiB
Makefile

# Defaults for Illusion Arena. You shouldn't need to modify this section
# This is only the client/server engine so we don't build the QVM here.
# For the QVM game code, see https://gitea.pukeko.club/hifuu-club/illusion-arena
BUILD_STANDALONE=1
BUILD_CLIENT=1
BUILD_SERVER=1
BASEGAME=baseia
VERSION=1.36+ia18
USE_CODEC_VORBIS=1
USE_CODEC_OPUS=1
USE_CODEC_XMP=1
# FLTO Test
OPTIMIZE += -flto
# This doesn't work with Illusion Arena yet
BUILD_RENDERER_OPENGL2=0
# You can disable the renderer libraries and build in the OA renderer by default
USE_RENDERER_DLOPEN=0
# Choose version 1 or 2
SDL_VERSION=2
ifndef USE_CONSOLE_WINDOW
USE_CONSOLE_WINDOW=1 # use an early console window (WIN32 only)
endif
# renderer_oa - This causes compiling issues on Linux and does not work yet.
USE_FALLBACK_GLSL=0
# renderer_oa - Whether to compile with GLSL support on certain features or not. for debugging!? Porting?!
GLSL_POSTPROCESSING =1 # for r_ntsc/leifx/anime/retroAA/palletize/postprocess
GLSL_TEXTURES =1 # for shaders on models, leifxdither, etc
GLSL_BACKEND =1 # for the entire backend.
#Possible values "gnu90", "gnu99" and "gnu11". Note that the engine uses gnu-extensions. gnu90 is broken in the commit where this message is added. Travis does not support gnu11 at the moment.
CFLAGS+="-std=gnu99"
# You can change these although you probably don't need to
CLIENTBIN=illusionarena
SERVERBIN=ia_ded
COPYDIR=/usr/local/games/illusionarena
# DEBUG_CFLAGS=-ggdb -O0
# You normally pass these on the command line (e.g. make V=1)
# rather than setting them for all builds.
#
# Verbose build
# V=1
#
# Build a zip -r9 file or Mac OSX release zip (make-macosx-app.sh)
ARCHIVE=1