diff options
author | Evan Martin <martine@danga.com> | 2010-12-05 00:09:50 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2010-12-05 00:09:50 (GMT) |
commit | 42d237e7841679b27cd5dcae82d143d86a87a807 (patch) | |
tree | 253b0cf88ecf3b0404146a7c7945dd4c660afa04 /build.ninja | |
parent | d0025e234cf3fc0a13f45d179880578285609b59 (diff) | |
download | Ninja-42d237e7841679b27cd5dcae82d143d86a87a807.zip Ninja-42d237e7841679b27cd5dcae82d143d86a87a807.tar.gz Ninja-42d237e7841679b27cd5dcae82d143d86a87a807.tar.bz2 |
move src into subdir
Diffstat (limited to 'build.ninja')
-rw-r--r-- | build.ninja | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/build.ninja b/build.ninja index 3998cbe..9661782 100644 --- a/build.ninja +++ b/build.ninja @@ -31,20 +31,20 @@ rule link # These build rules build the ".o" files from the ".cc" files, # build "ninja.a" by linking the builddir's "ninja.o", # 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 @util.o: cxx util.cc -build @ninja_jumble.o: cxx ninja_jumble.cc +build @build.o: cxx src/build.cc +build @parsers.o: cxx src/parsers.cc +build @subprocess.o: cxx src/subprocess.cc +build @util.o: cxx src/util.cc +build @ninja_jumble.o: cxx src/ninja_jumble.cc build @ninja.a: ar @build.o @parsers.o @subprocess.o @util.o @ninja_jumble.o -build @ninja.o: cxx ninja.cc +build @ninja.o: cxx src/ninja.cc 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 @subprocess_test.o: cxx subprocess_test.cc +build @build_test.o: cxx src/build_test.cc +build @ninja_test.o: cxx src/ninja_test.cc +build @parsers_test.o: cxx src/parsers_test.cc +build @subprocess_test.o: cxx src/subprocess_test.cc build ninja_test: link @build_test.o @ninja_test.o @parsers_test.o \ @subprocess_test.o @ninja.a ldflags = -g -rdynamic -lgtest -lgtest_main -lpthread |