2020-07-08 23:20:02 +00:00
# Main Makefile for FBNeo, execute an appropriate system-specific makefile
2011-12-03 20:27:59 +00:00
export
#
# Declare variables
#
# Make a special build, pass the quoted text as comment (use FORCE_UPDATE declaration below to force recompilation of resources)
# SPECIALBUILD = "This text will appear in the property sheet of the .exe file"
#
# Flags. Uncomment any of these declarations to enable their function.
#
2012-02-16 20:45:47 +00:00
# Include Unicode support
2012-01-01 21:43:29 +00:00
UNICODE = 1
2011-12-03 20:27:59 +00:00
# Build A68K ASM 68000 core
2019-05-19 04:15:24 +00:00
#BUILD_A68K = 1
2011-12-03 20:27:59 +00:00
# Include x86 Assembly routines
2012-01-01 21:43:29 +00:00
BUILD_X86_ASM = 1
2011-12-03 20:27:59 +00:00
2020-05-20 23:23:36 +00:00
# Include GCC optmisations for your CPU e.g use -march=native. WARNING: This might mean that the generated binaries will not run on other peoples (older) machines!
#BUILD_NATIVE = 1
2011-12-03 20:27:59 +00:00
# Build for x64 targets (MinGW64 and MSVC only, this will undefine BUILD_A68K and BUILD_X86_ASM)
#BUILD_X64_EXE = 1
2015-08-02 19:16:36 +00:00
# Build for Windows XP target (for use with Visual Studio 2012-15)
2013-11-29 19:36:24 +00:00
#BUILD_VS_XP_TARGET = 1
2012-11-27 20:02:58 +00:00
2012-02-16 20:45:47 +00:00
# Include 7-zip support
INCLUDE_7Z_SUPPORT = 1
2015-10-09 10:31:46 +00:00
# Include AVI recording support (uses Video For Windows)
INCLUDE_AVI_RECORDING = 1
2011-12-03 20:27:59 +00:00
# Include symbols and other debug information in the executable
2019-05-19 04:15:24 +00:00
#SYMBOL = 1
2011-12-03 20:27:59 +00:00
2019-07-25 10:14:40 +00:00
# Include features for debugging drivers unless we are doing a release build
i f n d e f R E L E A S E B U I L D
2011-12-03 20:29:12 +00:00
DEBUG = 1
2019-08-03 02:14:36 +00:00
e n d i f
2011-12-03 20:27:59 +00:00
# Include rom set verifying features (comment this for release builds)
2012-12-16 11:36:24 +00:00
#ROM_VERIFY = 1
2011-12-03 20:27:59 +00:00
# Force recompilation of files that need it (i.e. use __TIME__, __DATE__, SPECIALBUILD).
FORCE_UPDATE = 1
# Use the __fastcall calling convention when interfacing with A68K/Musashi/Doze
2012-01-01 21:43:29 +00:00
FASTCALL = 1
2011-12-03 20:27:59 +00:00
# Compress executable with upx (the DEBUG option ignores this)
# COMPRESS = 1
# Perl is available
PERL = 1
2012-01-25 20:13:10 +00:00
# Endianness
LSB_FIRST = 1
2012-03-09 14:07:59 +00:00
# Include png.h from burner.h
INCLUDE_LIB_PNGH = 1
2020-09-30 22:04:47 +00:00
# Enable CRT resolution switching
# INCLUDE_SWITCHRES = 1
2011-12-03 20:27:59 +00:00
#
# execute an appropriate system-specific makefile
#
mingw345 : FORCE
@$( MAKE) -s -f makefile.mingw GCC345 = 1
mingw452 : FORCE
@$( MAKE) -s -f makefile.mingw GCC452 = 1
2020-01-23 22:01:59 +00:00
2012-11-16 20:52:52 +00:00
mingw471 : FORCE
@$( MAKE) -s -f makefile.mingw GCC471 = 1
2020-01-23 22:01:59 +00:00
2015-09-17 13:53:20 +00:00
mingw510 : FORCE
@$( MAKE) -s -f makefile.mingw GCC510 = 1
2011-12-03 20:27:59 +00:00
2020-04-19 21:55:50 +00:00
mamemingw : FORCE
@$( MAKE) -s -f makefile.mamemingw
2012-01-01 21:43:29 +00:00
sdl : FORCE
2011-12-03 20:27:59 +00:00
@$( MAKE) -s -f makefile.sdl
2020-01-23 22:01:59 +00:00
sdl2 : FORCE
@$( MAKE) -s -f makefile.sdl2
2011-12-03 20:27:59 +00:00
vc : FORCE
@$( MAKE) -s -f makefile.vc
2019-10-08 22:24:40 +00:00
pi : FORCE
@$( MAKE) -s -f makefile.pi
2019-07-25 10:14:40 +00:00
FORCE :