←back to thread

Be Aware of the Makefile Effect

(blog.yossarian.net)
431 points thunderbong | 3 comments | | HN request time: 0.635s | source
1. dvh ◴[] No.42664554[source]
Most of my simple C projects have make.sh instead that has something like:

    clear
    gcc some options -o foo && ./foo
replies(1): >>42664604 #
2. chikere232 ◴[] No.42664604[source]
You might benefit from make, as you wouldn't need a full rebuild every time, or have to spell out every step.
replies(1): >>42667018 #
3. bigpingo ◴[] No.42667018[source]
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.