makefile: don't include parent directory, and other improvements