File fix_mkdir_order.patch of Package mame
--- 3rdparty/genie/src/actions/make/make_cpp.lua_orig 2018-02-09 19:47:41.045121556 +0100
+++ 3rdparty/genie/src/actions/make/make_cpp.lua 2018-02-09 19:48:38.620847430 +0100
@@ -525,12 +525,12 @@
for _, file in ipairs(prj.allfiles or {}) do
if path.issourcefile(file) then
if (path.isobjcfile(file)) then
- _p('$(OBJDIR)/%s.o: %s $(GCH_OBJC) $(MAKEFILE)'
+ _p('$(OBJDIR)/%s.o: %s $(GCH_OBJC) $(MAKEFILE) | $(OBJDIRS)'
, _MAKE.esc(path.trimdots(path.removeext(file)))
, _MAKE.esc(file)
)
else
- _p('$(OBJDIR)/%s.o: %s $(GCH) $(MAKEFILE)'
+ _p('$(OBJDIR)/%s.o: %s $(GCH) $(MAKEFILE) | $(OBJDIRS)'
, _MAKE.esc(path.trimdots(path.removeext(file)))
, _MAKE.esc(file)
)