0

How to compile quickly without continously having to type the whole story of -wall -werror and all those other flags. I know how to use them, but it is a little bit of annoying if I have to type it again and again. Maybe this is asked before, but I couldn't find it.

1 Answers1

1

Create a Makefile. As your project might grow larger, your bash alias will most likely not always cover what you need and you might have to call it multiple times to get everything compiled.

When your Makefile is up-to-date, all you have to type is make to build your whole project.

See http://www.cs.colby.edu/maxwell/courses/tutorials/maketutor/.