How is AVR Assembly in Eclipse or at Linux command line done?
If you don't mind using make, I'd recommend copying the Makefiles from ChibiOS. For me it works quite well and it's much more aligned to my daily experience with Linux.