diff options
author | Evan Martin <martine@danga.com> | 2010-11-29 01:36:49 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2010-11-29 01:38:16 (GMT) |
commit | c3bd9cd54e685eba16cf8c3e076330e6e325ce09 (patch) | |
tree | 274bfd096fff41dcb7c621d61aa9602e250673a0 /build.ninja | |
parent | af3e1d7000ee00823370aebecb256f4cfe57dab4 (diff) | |
download | Ninja-c3bd9cd54e685eba16cf8c3e076330e6e325ce09.zip Ninja-c3bd9cd54e685eba16cf8c3e076330e6e325ce09.tar.gz Ninja-c3bd9cd54e685eba16cf8c3e076330e6e325ce09.tar.bz2 |
subprocess code into new file
Diffstat (limited to 'build.ninja')
-rw-r--r-- | build.ninja | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build.ninja b/build.ninja index 0a45e4e..05c9ebf 100644 --- a/build.ninja +++ b/build.ninja @@ -31,8 +31,9 @@ rule link # and build that "ninja.o" by compiling "ninja.cc". build @build.o: cxx build.cc build @parsers.o: cxx parsers.cc +build @subprocess.o: cxx subprocess.cc build @ninja_jumble.o: cxx ninja_jumble.cc -build @ninja.a: ar @build.o @parsers.o @ninja_jumble.o +build @ninja.a: ar @build.o @parsers.o @subprocess.o @ninja_jumble.o build @ninja.o: cxx ninja.cc build ninja: link @ninja.o @ninja.a @@ -40,7 +41,9 @@ build ninja: link @ninja.o @ninja.a build @build_test.o: cxx build_test.cc build @ninja_test.o: cxx ninja_test.cc build @parsers_test.o: cxx parsers_test.cc -build ninja_test: link @build_test.o @ninja_test.o @parsers_test.o @ninja.a +build @subprocess_test.o: cxx subprocess_test.cc +build ninja_test: link @build_test.o @ninja_test.o @parsers_test.o \ + @subprocess_test.o @ninja.a ldflags = -lgtest -lgtest_main -lpthread |