makefile: add 'install' target

Added an 'install' target in the makefile, to allow installation of
the software with standard prefixes.
makefile: PHONY targets

Added .PHONY targets to allow the makefile to work even in the
presence of files having the names of those targets.