Добавлена вторая задача пятой главы
This commit is contained in:
13
Занимательное программирование/5/2_grey/build.ninja
Normal file
13
Занимательное программирование/5/2_grey/build.ninja
Normal file
@@ -0,0 +1,13 @@
|
||||
cxxflags =
|
||||
|
||||
rule cxx
|
||||
command = g++ $cxxflags -c -o $out $in
|
||||
|
||||
rule ld
|
||||
command = g++ $cxxflags $in -o $out
|
||||
|
||||
build build/huffman.o: cxx huffman.cpp | huffman.hpp
|
||||
build build/grey.o: cxx grey.cpp | grey.hpp stb_image.h stb_image_write.h
|
||||
build build/grey: ld main.cpp build/grey.o build/huffman.o
|
||||
|
||||
default build/grey
|
||||
Reference in New Issue
Block a user