def _get_c_program(self, makefile_target_name, binary_name):
find_executable(MAKE_CMD)<EOL>if not find_executable(MAKE_CMD):<EOL><INDENT>print(<EOL>'<STR_LIT>'<EOL>% MAKE_CMD<EOL>)<EOL>exit(<NUM_LIT:1>)<EOL><DEDENT>SAMPLE_C_CODE_DIR = os.path.join(<EOL>os.path.dirname(os.path.realpath(__file__)), "<STR_LIT>"<EOL>)<EOL>binary_path = os.path.join(SAMPLE_C_CODE_DIR, binary_name)<EOL>subprocess.call(["<STR_LIT>", "<STR_LIT>"], cwd=SAMPLE_C_CODE_DIR)<EOL>subprocess.check_output(<EOL>[MAKE_CMD, makefile_target_name, "<STR_LIT>", SAMPLE_C_CODE_DIR, "<STR_LIT>"]<EOL>)<EOL>return binary_path<EOL>
build c program and return path to binary