2013-03-19 23:49:00 +05:30
|
|
|
#!/usr/bin/env python
|
2014-04-02 00:11:14 +05:30
|
|
|
# -*- coding: UTF-8 no BOM -*-
|
2015-05-30 01:20:59 +05:30
|
|
|
import sys
|
2013-03-19 23:49:00 +05:30
|
|
|
|
2015-05-30 01:20:59 +05:30
|
|
|
resolutions = [16,32,64]
|
|
|
|
resolution = resolutions[0]
|
|
|
|
|
|
|
|
try:
|
|
|
|
resolution = int(sys.argv[1])
|
|
|
|
except:
|
|
|
|
pass
|
|
|
|
|
|
|
|
if resolution not in resolutions:
|
|
|
|
resolution = resolutions[0]
|
|
|
|
|
2013-03-19 23:55:01 +05:30
|
|
|
from subprocess import call
|
2015-05-30 01:20:59 +05:30
|
|
|
call('make run%s'%('x'.join([str(resolution)]*3)), shell=True)
|