 updated for latest libnds
 changed makefile to compile as arm code