use install -d instead of mkdir, which fails if dir exists
remove extra blank line at end of Makefile