diff options
author | 2015-03-26 09:00:39 +0100 | |
---|---|---|
committer | 2015-03-26 09:00:39 +0100 | |
commit | f76d59c41df1c14a6abb710414809ae1915bda14 (patch) | |
tree | ed92194004cbc4806f036721a719d757e1ef63c2 /scripts/target/mess/tiny.lua | |
parent | 522a6d8c30082725de73d6af310004726b307f93 (diff) |
Moved build system to GENie [Miodrag Milanovic]
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
Diffstat (limited to 'scripts/target/mess/tiny.lua')
-rw-r--r-- | scripts/target/mess/tiny.lua | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/scripts/target/mess/tiny.lua b/scripts/target/mess/tiny.lua new file mode 100644 index 00000000000..8789cf1391b --- /dev/null +++ b/scripts/target/mess/tiny.lua @@ -0,0 +1,41 @@ +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
\ No newline at end of file |