diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-02-27 17:49:09 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-02-27 17:49:09 +0100 |
| commit | 1768f21de7b75c98c932fcd734218d348b1b0060 (patch) | |
| tree | e517cc9b792f376b211bbd37a496269913d833d5 /Занимательное программирование/5/3_context/build.ninja | |
| parent | 82ae29cb8a59a1e093190d14f8c5097658545a12 (diff) | |
| download | book-exercises-1768f21de7b75c98c932fcd734218d348b1b0060.tar.gz | |
Добавлена третья задача пятой главы
Diffstat (limited to 'Занимательное программирование/5/3_context/build.ninja')
| -rw-r--r-- | Занимательное программирование/5/3_context/build.ninja | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Занимательное программирование/5/3_context/build.ninja b/Занимательное программирование/5/3_context/build.ninja new file mode 100644 index 0000000..8cc6bf7 --- /dev/null +++ b/Занимательное программирование/5/3_context/build.ninja @@ -0,0 +1,12 @@ +cxxflags = + +rule cxx + command = g++ $cxxflags -c -o $out $in + +rule ld + command = g++ $cxxflags $in -o $out + +build build/context.o: cxx context.cpp | context.hpp +build build/context: ld main.cpp build/context.o + +default build/context |
