Makefile: set LDFLAGS correct when built with MINGW32

Signed-off-by: Stefan Naewe <stefan.naewe@googlemail.com>
tools/dmake: update with MINGW32 support

Signed-off-by: Stefan Naewe <stefan.naewe@googlemail.com>
lib/tokenize: fix two compiler warnings about emtpy while loop

Fixes these warnings:
  lib/tokenize.cpp: In member function ‘bool Tokenizer::tokenize(std::istream&, const char*, const std::string&)’:
  lib/tokenize.cpp:1962: warning: suggest a space before ‘;’ or explicit braces around empty body in ‘while’ statement
  lib/tokenize.cpp: In member function ‘bool Tokenizer::tokenizeCondition(const std::string&)’:
  lib/tokenize.cpp:2174: warning: suggest a space before ‘;’ or explicit braces around empty body in ‘while’ statement

Signed-off-by: Stefan Naewe <stefan.naewe@googlemail.com>
lib/checkother: fix compiler warning about unused member

Found by clang:

lib/checkother.cpp:2992:31: warning: private field '_symbolDatabase' is not used
      [-Wunused-private-field]
        const SymbolDatabase *_symbolDatabase;

Signed-off-by: Stefan Naewe <stefan.naewe@googlemail.com>
Merge pull request #133 from snaewe/sn/support-ming

Support MinGW32, fix compiler warnings