Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a modern replacement for Make? [closed]

Make was never a tool that I was in love with and over the years I've used Ant quite a lot but Ant is pretty geared toward Java, just as several other tools (Grunt, Rake, etc.) are all about some other language and tool stack.

Is there a modern tool that is:

a) cross-platform

b) pretty language agnostic

c) easy to use

for all the automated tasks that developers want to do, but with a more modern set of features and ease of use than Make had.

like image 636
John Munsch Avatar asked Jul 19 '12 15:07

John Munsch


3 Answers

We have been happily using Rake for non-Ruby builds for a while now, having come to the conclusion that a decent build tool needs to have the capability of a programming language. We haven't found anything we can't do with it yet, and have applied it to both .NET and Java projects. Is that not language agnostic enough for you?

like image 53
David M Avatar answered Nov 07 '22 21:11

David M


I'm surprised nobody has mentioned scons.

It's written in Python, but it's cross-platform and language agnostic. I've started using it for personal C++ projects.

http://www.scons.org/

Also, the SCons website has a pretty good comparison with other products:

http://www.scons.org/wiki/SconsVsOtherBuildTools

And you can bundle SCons with your repository, which adds about 2Mb with all the tools:

https://sourceforge.net/projects/scons/files/scons-local/

like image 41
m0j0 Avatar answered Nov 07 '22 19:11

m0j0


Waf has similar design goals to Make, as far as I can see. I have not used either one extensively, but the waf wiki has a detailed comparison with other build systems which explains why make-like systems are not great. This largely comes down to the fact that make-like build systems implement their own limited programming language, which is not easily extensible, as opposed to using a fully featured existing programming language (Waf is python based).

like image 2
naught101 Avatar answered Nov 07 '22 19:11

naught101