Arduino command line tool for the Atmega328

Hi It seems like the Arduino command line tool hasn't been following the IDE upgrades, how so? I have a friend that is having some problems running the IDE in Ubuntu because of a java hick up and by the way prefer using the 'make - make upload' routine to program anything. But with a newly purchased Arduino Duemilanove board with the ATmega328 the makefile doesn't work. - Does anyone have any idea on how to make an update for the makefile to fix this problem?

following that line of thougts... how do you incorporate say the servo library into the core to be used with the command line tool?