Re: link: "Recursive Make Considered Harmful"

看板DFBSD_kernel作者時間21年前 (2005/01/11 20:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串17/31 (看更多)
On Tue, Jan 11, 2005 at 06:57:28PM +1000, Andrew Hacking wrote: >I was also surprised to see in jam that all variable assignment occurs >at parsing time and cannot occur dynamically, eg as the output of a >shell command. This has to take away a lot of power that make provides, >but obviously makes it easier for jam to calculate dependencies up front >before doing anything. > >Anyway its good to look at alternatives... and still see that make isn't >so bad despite the limitations. It's the use of shell commands to change make's behaviour - and not just file content - that I consider a significant part of the problem. I think building would be more maintainable if the shell stuff was up front to set parameters, etc., before doing any file construction, and then never got invoked again in all the myriad recursions. -- Christopher Vance
文章代碼(AID): #11uy0R00 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #11uy0R00 (DFBSD_kernel)