Rewrite Makefile

- use implicit rule to create the binary
- aim at C99 by default
- use install to put the executable in correct place
- use 'rm -f' in clean target
- remove unused variables