Добавлена третья задача пятой главы
This commit is contained in:
12
Занимательное программирование/5/3_context/build.ninja
Normal file
12
Занимательное программирование/5/3_context/build.ninja
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user