OLD | NEW |
1 # Copyright (c) 2012 Google Inc. All rights reserved. | 1 # Copyright (c) 2012 Google Inc. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """This is a simplified Makefile generator for single-target gyp files. | 5 """This is a simplified Makefile generator for single-target gyp files. |
6 It was originally designed for generating readable Makefiles for the | 6 It was originally designed for generating readable Makefiles for the |
7 the NaCL examples. | 7 the NaCl examples. |
8 """ | 8 """ |
9 | 9 |
10 # pylint: disable=C0301 | 10 # pylint: disable=C0301 |
11 | 11 |
12 import os | 12 import os |
13 import gyp.common | 13 import gyp.common |
14 from gyp.common import GetEnvironFallback | 14 from gyp.common import GetEnvironFallback |
15 from gyp.generator.make import QuoteIfNecessary | 15 from gyp.generator.make import QuoteIfNecessary |
16 | 16 |
17 generator_default_variables = { | 17 generator_default_variables = { |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 WriteTarget(makefile, target_info) | 294 WriteTarget(makefile, target_info) |
295 | 295 |
296 makefile.write(''' | 296 makefile.write(''' |
297 # include (if they exists) the .d dependency files that the compiler generates | 297 # include (if they exists) the .d dependency files that the compiler generates |
298 -include $(DEPFILES) | 298 -include $(DEPFILES) |
299 | 299 |
300 endif | 300 endif |
301 ''') | 301 ''') |
302 | 302 |
303 makefile.close() | 303 makefile.close() |
OLD | NEW |