mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
23 lines
456 B
Python
Executable File
23 lines
456 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
"""
|
|
make.py
|
|
|
|
A drop-in or mostly drop-in replacement for GNU make.
|
|
"""
|
|
|
|
import sys, os
|
|
import pymake.command, pymake.process
|
|
|
|
import gc
|
|
|
|
if __name__ == '__main__':
|
|
sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
|
|
sys.stderr = os.fdopen(sys.stderr.fileno(), 'w', 0)
|
|
|
|
gc.disable()
|
|
|
|
pymake.command.main(sys.argv[1:], os.environ, os.getcwd(), cb=sys.exit)
|
|
pymake.process.ParallelContext.spin()
|
|
assert False, "Not reached"
|