Pure commandline tool with sdl on osx?

hi,
i’m new with sdl - i want to use it to write a commandline tool which
read joysticks from usb.

is it possible to do this?
the sdl-application template in the projectbuilder contains two files
in the classes folder for cocoa (i’m not familar with cocoa or
objective-c)
if i delete this files an linker error occurs:

Undefined symbols: _main

is there an pure commandline template, or can anywhere help me?

michael

//
// www.michaelbreitenbach.com
//

sorry …
… the answer is in the faq