Compile the program (you may alter it as well if you'd like) with the following:
$ make # make program
$ ./main # run the program, and wait....
$ make cmp # make compare files (from data to plots)
If you like, you can have evince (must be installed) to view your graph(s), one by one:
$ make cmpl # launche pdf in evince
TO CLEAN UP:
$ make clean # Note! Will remove logs as well!
or
$ make cmpl # to clean up only the logs
Comment main.c
.