Make conventions

From wikinotes

Compiled Languages

Targets

build    # build executable
install  # install executable
clean    # remove temporary/incremental build files

C/C++

Compiler

The makefile itself is quite flexible with how you use it, but there appears to be a set of agreed-upon variables names for compiler related variables.

PROG=		## name of output executable
OBJS=		## name of all *.o files to be included (?)

CC=		## compiler name
DEBUG=	## compiler flags for debug-mode (allow use of gdb)
CFLAGS=	## compiler flags for *.o object-file compilation
LFLAGS=	## compiler flags to determine libraries (?)