[GRASS-user] Compiling a C function in Windows (using OSGEO4w)

Greetings

I’m used to Ubuntu-GRASS compilation and use but now I need to “compile” a function (image processing) for winGRASS with OSGEO4W and I just want to confirm how to do it.

in Ubuntu I do:
cd
sudo make -C MODULE_TOPDIR=

is it similar with msys?

Thanks
Franz