make.py (and the pymake modules that support it) are an implementation of the make tool which are mostly compatible with makefiles written for GNU make.
You need to have a Windows build environment installed for using pymake to build Mozilla. Pymake itself only requires Python 2.6 or higher(but not Python 3).
Anywhere you would normally type
make, instead type
python -OO /path/to/srcdir/build/pymake/make.py. For example:
- Instead of
make -f client.mkto start a build, you would type
python -OO build/pymake/make.py -f client.mk.
- To run tests instead of typing
make mochitest-plainin the object directory, you would type
python -OO ../build/pymake/make.py mochitest-plain.
Unlike gmake on Windows, pymake is capable of doing parallel builds, so you can set a
MOZ_MAKE_FLAGS=-jN in your .
mozconfig without risk of deadlocks.
.mozconfig, it must be a Windows-style (i.e. c:/foo/bar) rather than an MSYS-style (i.e. /c/foo/bar) path.