btl.ninja (356B)
1 # btl.ninja 2 PROJECT = btl 3 4 CXXFLAGS = $$CXXFLAGS -fcolor-diagnostics -DFILE_PTR=FILE* 5 6 SRC = ./$PROJECT/src 7 DST = ./build/$PROJECT/src 8 9 build $DST/optparser.cpp.o: cxx $SRC/optparser.cpp 10 build $DST/string.cpp.o: cxx $SRC/string.cpp 11 build $DST/utils.cpp.o: cxx $SRC/utils.cpp 12 13 build $DST/../btl.a: ar $DST/optparser.cpp.o $DST/string.cpp.o $DST/utils.cpp.o