rewrite platform magic in makefile:
introduce targets for different platforms
add flags for wii compilation