def METHOD_NAME(cmd):
    print('Compiling %s...' % C['name'])
    if args.verbose:
        print('Running command: %s' % cmd)
    exit_code = subprocess.call(cmd, shell = True)
    msg = ''
    if exit_code == 0:
        msg = 'OK: %s compiled into %s' % (C['name'], get_target_name())
    else:
        msg = 'ERR: Unable to compile %s' % C['name']
    print(msg)
    sys.exit(exit_code)