mirror of
https://github.com/holub/mame
synced 2025-05-01 20:27:02 +03:00

make TARGET=mess -j19 will generate all needed files and build MESS, while developing you can use make TARGET=mess COMPILE=1 -j19 to prevent rebuilding of make files. Build system have automatic generate of dependencies so will do incremental builds fine. make clean will remove all generated files/projects and obj files
41 lines
683 B
Lua
41 lines
683 B
Lua
CPUS["Z80"] = true
|
|
|
|
SOUNDS["SN76496"] = true
|
|
|
|
VIDEOS["TMS9928A"] = true
|
|
|
|
BUSES["COLECO"] = true
|
|
|
|
function createProjects(_target, _subtarget)
|
|
project ("tiny")
|
|
targetsubdir(_target .."_" .. _subtarget)
|
|
kind "StaticLib"
|
|
uuid (os.uuid("drv-mess-tiny"))
|
|
|
|
options {
|
|
"ForceCPP",
|
|
}
|
|
|
|
includedirs {
|
|
MAME_DIR .. "src/emu",
|
|
MAME_DIR .. "src/mess",
|
|
MAME_DIR .. "src/lib",
|
|
MAME_DIR .. "src/lib/util",
|
|
MAME_DIR .. "3rdparty",
|
|
MAME_DIR .. "3rdparty/zlib",
|
|
GEN_DIR .. "mess/layout",
|
|
}
|
|
|
|
includeosd()
|
|
|
|
files{
|
|
MAME_DIR .. "src/mess/drivers/coleco.c",
|
|
MAME_DIR .. "src/mess/machine/coleco.c",
|
|
}
|
|
end
|
|
|
|
function linkProjects(_target, _subtarget)
|
|
links {
|
|
"tiny",
|
|
}
|
|
end |