Update Makefile for automated package builds
This makefile allows for automated package builds using tools like sbuild.
The following changes have been made:
- Remove the use of
sudo
to allow automatic building. - Allow passing CC and CFLAGS to make. Default
cc
is retained. - Set SUID and other permissions in install, rather than using chown/chmod in build. This removes another need for sudo.
- Remove scan-build. This was done only because it makes Debian cross compiling easier. If the preference is to retain it, this can be patched out in the Debian build instead if I don't find a workaround.