It seems any conditions in makes dont work. And addprefix too... make say that addprefix is not exists. All makefiles from atmel examples. And all example makefiles have conditional statements.
Try make version 3.81 first, it there are still problems create a minimal example so the issue can be reproduced.