-
-
Notifications
You must be signed in to change notification settings - Fork 644
Description
Hello, I appreciate premake developers. I am a kernel developer, and our projects have been changed to use premake instead of pure makefiles.
There are many build-unrelated things by Makefile in our projects such as running image buidling script, debugging script, generating documents, running QEMU and so on. Before, we just make it phony target for these uses.
I ran into several problems for making just newaction syntax for them.
-
"premake5 doc" is rather unfamiliar with common users as compared with "make doc". Although it is trivial and controversial for each people, I think seamless integration with Makefile looks better.
-
newaction syntax can be added only for structured premake.lua. If I have several premake.lua files in sub projects and root premake.lua includes them, I could not run newaction in sub folder tree. (It can be executed only in root project folder.
-
Phony target has dependency of pre-build target, and Makefile is for that. For example, debugging or testing is only effective after binary made.
For those reasons, I think phony target is required for premake. I am afraid of those kind of problem comes from my misunderstanding of premake. So any kind of negative feedback also appreciated. Thanks.