summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-04 14:44:06 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-04 14:44:06 +0200
commit1026d09afa7583f0a296ac88b90ca419ebf405ec (patch)
tree5e2f9ea98c72ff57c094c1ccacde89012eb9ef1a /scripts/genie.lua
parent1585c5036012f7079462fc82b372d3715a5ddb15 (diff)
Moved creation of most non-layout files out of makefile (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index a54f0d4d2a7..9764bd88219 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -39,6 +39,9 @@ function findfunction(x)
end
end
+function layoutbuildtask(_folder, _name)
+ return { MAME_DIR .. "src/".._folder.."/".. _name ..".lay" , GEN_DIR .. _folder .. "/".._name..".lh", { MAME_DIR .. "src/build/file2str.py" }, {"@echo Converting src/".._folder.."/".._name..".lay...", "python $(1) $(<) $(@) layout_".._name }};
+end
CPUS = {}
SOUNDS = {}
@@ -261,8 +264,10 @@ configuration { "Debug", "vs*" }
configuration {}
---aftercompilefile ("\t$(SILENT) gawk -f ../../../../../scripts/depfilter.awk $(@:%.o=%.d) > $(@:%.o=%.dep)\n\t$(SILENT) mv $(@:%.o=%.dep) $(@:%.o=%.d)")
-
+--postcompiletasks {
+-- "gawk -f ../../../../../scripts/depfilter.awk $(@:%.o=%.d) > $(@:%.o=%.dep)",
+-- "mv $(@:%.o=%.dep) $(@:%.o=%.d)",
+--}
msgcompile ("Compiling $(subst ../,,$<)...")