summaryrefslogtreecommitdiff
path: root/src/graph.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-19 14:25:03 -0400
committerBrad King <brad.king@kitware.com>2018-11-19 10:23:45 -0500
commit4a4f9d40e178a9a9e88f4cd502d2be49bf7938d8 (patch)
treebdc9ce225fcac536bc17e3a77cc1f42d53eaf181 /src/graph.h
parent6d6dfd17e83bbde57bee61a0956a73b12088a9d1 (diff)
downloadninja-4a4f9d40e178a9a9e88f4cd502d2be49bf7938d8.tar.gz
Fix depfile parser handling of multiple rules
Currently we handle Makefile rules of the form: out: in1 in2 in3 and the form: out: in1 \ in2 \ in3 Teach the depfile parser to handle the additional form: out: in1 out: in2 out: in3 This is also valid Makefile syntax and is the depfile format generated by the Intel Compiler for Windows. Note that the `gcc -MP` option adds empty phony rules to the generated Makefile fragment: out: in1 in2 in3 in1: in2: in3: Previously we tolerated these because they were treated as inputs, which was accidentally correct. Instead we must now tolerate these by ignoring targets for which no dependencies are specified.
Diffstat (limited to 'src/graph.h')
0 files changed, 0 insertions, 0 deletions