I think for windows this switch needs to be changed to -export-all-symbols. -rdynamic only applies to ELF, not PE.
Also, since the function timeGetTime() is being used, on windows you need to also link -winmm. I imagine anyone who builds for windows has already figured this out.
And another also, the makefile could also look for pdcurses, not just ncurses.
Edit: I use mingw btw