C Basics

Compile and generate bninary

gcc main.c -o main.run

Run code

./main.run

Makefiles

Makefile is basically a script on how to setup the application.

It has three main sections we can add commands into, respectively: all, run, clean.

make

make run

make clean

passing another dir:

make -C 00-makefiles