summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index dc727e8..b7d7908 100755
--- a/configure.py
+++ b/configure.py
@@ -246,6 +246,8 @@ n.comment('Main executable is library plus main() function.')
objs = cxx('ninja')
ninja = n.build(binary('ninja'), 'link', objs, implicit=ninja_lib,
variables=[('libs', libs)])
+if ninja != 'ninja':
+ n.build('ninja', 'phony', ninja)
n.newline()
all_targets += ninja
@@ -298,9 +300,12 @@ if platform != 'mingw' and platform != 'windows':
ninja_test = n.build(binary('ninja_test'), 'link', objs, implicit=ninja_lib,
variables=[('ldflags', test_ldflags),
('libs', test_libs)])
+if ninja_test != 'ninja_test':
+ n.build('ninja_test', 'phony', ninja_test)
n.newline()
all_targets += ninja_test
+
n.comment('Perftest executable.')
objs = cxx('parser_perftest')
parser_perftest = n.build(binary('parser_perftest'), 'link', objs,