A generic Makefile for small/medium project.
- project/ - Project folder
- project/src - All .cpp files (sub folders also included)
- project/inc - All .h files
- make clean - to delete all output files
- make build - to build only
- make all - to compile and link
- make run - to compile, link and run
curl -sO https://raw.githubusercontent.com/znck/makefile/master/Makefile
or
curl -sLS https://goo.gl/n2NCcD > Makefile