tesla: Improve GNUMakefile a bit