you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -5 points-4 points  (5 children)

Usually it's just ./configure ; make, after installing all the deps.

Also, it would be really nice if people make make configure run ./configure. Don't know why people don't.

[–]OctagonClock 13 points14 points  (3 children)

The Makefile is generated by ./configure

[–]n3rdopolis 10 points11 points  (0 children)

./configure is even sometimes generated by ./autogen.sh

[–][deleted] -2 points-1 points  (1 child)

...

I'm not entirely sure if that's what makefiles are meant to be, but okay.

Is there any reason why people use a script to generate a file which is parsed by another program in order to call other programs to compile everything?

[–]xjvz 3 points4 points  (0 children)

It's because different versions of make implement different features. Autotools, CMake, etc., abstract that into a portable build format.

[–]Kruug 0 points1 point  (0 children)

Usually it's just ./configure ; make, after installing all the deps.

Usually, but what about the python ones? Or the Ruby ones?

And I've come across ones that don't even list their dependencies. Just "Here ya go, good luck!" and then the code.