#!/usr/bin/env python3.1 import subprocess import sys args = ["gcc-4.4", "-D_Static_assert(a,b)=(1)", "-I/opt/wunderw/include", "-L/opt/wunderw/lib", "-lncursesw", "-lpng", "-lunistring"] for i, arg in enumerate(sys.argv): if i == 0: continue else: args.append(arg) result = subprocess.call(args) sys.exit(result)
#!/usr/bin/env python3.1 import subprocess import sys args = ["g++-4.4", "-I/opt/wunderw/include", "-L/opt/wunderw/lib", "-lncursesw", "-lpng", "-lunistring"] for i, arg in enumerate(sys.argv): if i == 0: continue args.append(arg) result = subprocess.call(args) sys.exit(result)