I do not get rid of the autoconf stuff until yet, so I took another Makefile
from a kde app and changed it to my own needs.

You may need edit some paths and flags in the Makefile.

Have fun,
olli


