Software Engineering : My very bad way to set up makefiles
I may have wrote this post, but I'm just being lazy... Read on. I've made other Boost videos, and other codeblocks videos, and I've always assumed that the user at the other end was well aware of how to compile & build code. However, it seems there are lots of users whom are not aware of how you actual create a program from source code, at least not with C++. So I'm going to show you the absolutely most wrong basic way of creating and using a makefile to perform a build... The first step of C++ program creation, is that trivial matter of creating the source code, easy right?... Yep, so lets skip that step, and go to when its once and we want to pass the code through a compiler, the compiler turns the source not into a program, but into an intermediary format called an object file or object code. The compiler then leaves the process and another program takes over, this second program is known as the Linker, and it takes the object code and links it with all the sy...