Merge pull request #1070 from mstorsjo/remove-unused-function

Remove an unused function in mktargets.py
This commit is contained in:
zhilwang 2014-07-03 13:48:21 +08:00
commit ba7dca89d5

View File

@ -20,9 +20,6 @@ INCLUDE=[]
OUTFILE="targets.mk"
CPP_SUFFIX=".cpp"
def make_o(x):
return os.path.splitext(x)[0] + ".$(OBJ)"
def write_cpp_rule_pattern(f):
src = "$(%s_SRCDIR)/%%%s"%(PREFIX, CPP_SUFFIX)
dst = "$(%s_SRCDIR)/%%.$(OBJ)"%(PREFIX)