
Makefile - original makefile for DiegoSLTS version
Makefile.linux - linux sdl version (not tested)
src/drivers/dingux-sdl/Makefile - use this to build for dingux and opendingux
src/drivers/dingux-sdl/Makefile-mingw - use this to compile dingux version on win32 platform (useful for debugging)

When building for OpenDingux you must comment out the line 
#define _GLIBCXX_USE_WCHAR_T 1 
in opendingux-toolchain/usr/mipsel-unknown-linux-uclibc/include/c++/4.7.1/mipsel-unknown-linux-uclibc/bits/c++config.h
otherwise the compilation will fail

Use either
make BUILDTARGET=dingux
or
make BUILDTARGET=opendingux
for appropriate target

Dmitry Smagin exmortis(at)yandex.ru