← Back to context

Comment by dvh

7 months ago

Most of my simple C projects have make.sh instead that has something like:

    clear
    gcc some options -o foo && ./foo

You might benefit from make, as you wouldn't need a full rebuild every time, or have to spell out every step.

  • For C and C++* projects under ~100k lines I wouldnt bother with incremental builds - I have a 70k C project with a single translation unit that builds in under 1s on my machine.

    * C++ requires some discipline to not explode build times, but it can be done if you dont go nuts with templates and standard headers.