- Create
Makefile - Create
lab1.c - Add the contents for the file
To compile you can do
make all
or
make gpa
or just
make
then type ls -alt and you will see that there are new files generated called gpa, to run it:
./gpa
You'll never want to keep those files auto-generated so you can run:
make clean
and those files will be removed, you can check by typing ls -alt once again.
For those who don't even want to create the Makefile by their own you can download it like:
wget --output-document Makefile https://git.io/Jf6y7