$(shell ..) does not work with bsd make. emacs should be in the path any...

...ways..

also, use parens instead of curly braces