FBNeo/makefile

75 lines
1.5 KiB
Makefile
Raw Normal View History

2011-12-03 20:27:59 +00:00
# Main Makefile for FB Alpha, execute an appropriate system-specific makefile
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.
#
# Inluclude Unicode support
UNICODE = 1
# Build A68K ASM 68000 core
2012-01-01 19:17:45 +00:00
BUILD_A68K = 1
2011-12-03 20:27:59 +00:00
# Include x86 Assembly routines
2012-01-01 19:17:45 +00:00
BUILD_X86_ASM = 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
# Include symbols and other debug information in the executable
#SYMBOL = 1
# Include features for debugging drivers
2011-12-03 20:29:12 +00:00
DEBUG = 1
2011-12-03 20:27:59 +00:00
# Include rom set verifying features (comment this for release builds)
2011-12-03 20:29:12 +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
FASTCALL = 1
# Compress executable with upx (the DEBUG option ignores this)
# COMPRESS = 1
# Perl is available
PERL = 1
#
# execute an appropriate system-specific makefile
#
mingw345: FORCE
@$(MAKE) -s -f makefile.mingw GCC345=1
mingw452: FORCE
@$(MAKE) -s -f makefile.mingw GCC452=1
mingw461: FORCE
@$(MAKE) -s -f makefile.mingw GCC461=1
sdl: FORCE
2012-01-01 19:17:45 +00:00
FASTCALL = 0
BUILD_A68K = 0
BUILD_X86_ASM =0
2011-12-03 20:27:59 +00:00
@$(MAKE) -s -f makefile.sdl
vc: FORCE
@$(MAKE) -s -f makefile.vc
2012-01-01 19:07:52 +00:00
FORCE: