Actually 
```
$(shell readlink -m $(1))
```

is probably more correct.