I'm working on changing all makefiles to use premake for my project.
Since it has many other external libraries using other configuraton tools like autotools, I decided just to use its own Makefile rather than making makeifle by premake for some libraries. I understand "kind : Makefile" is available for what I am going to do.
The problem is that autotools ./configure command should be preceded, but I don't know how to do it by premake. Can anybody suggest to how to deal with it?
Thanks in advance.
You can use Lua's os.execute() to call external commands.
os.setcwd("path/to/project")
os.execute("./configure")
Does that do what you need?