gmake.cmd: redirect to gmake.log instead of build.log

    modified:   gmake.cmd
buildsystem: upgrade a build system

1. Support to build multi-targets
2. Support to build DLLs and static libraries
3. Support sub-directories

    modified:   Makefile
    modified:   Makefile.common