commit 65630d48449224e750ee6b047fa492c55f2cb6bc parent 3ccca225bb0e4f07b9366497b398bd23586dd144 Author: Morel BĂ©renger <berengermorel76@gmail.com> Date: Fri, 14 Aug 2020 05:51:33 +0200 lmerge.ninja more readable Diffstat:
M | lmerge.ninja | | | 7 | +++++-- |
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lmerge.ninja b/lmerge.ninja @@ -2,11 +2,14 @@ PROJECT = lmerge BUILD = build ROOT = ./ -CXXFLAGS = $$CXXFLAGS -fcolor-diagnostics -I./$ROOT/btl/src/ -DFILE_PTR=FILE* +CXXFLAGS = $$CXXFLAGS -fcolor-diagnostics include conf.ninja subninja btl.ninja +BTL_LIB = ./$ROOT/$BUILD/btl/ +BTL_INC = ./$ROOT/btl/src/ +CXXFLAGS = $$CXXFLAGS -I$BTL_INC -DFILE_PTR=FILE* build $DST/lmerge.cpp.o: cxx $SRC/lmerge.cpp -build $DST/../lmerge: ld $DST/lmerge.cpp.o ./$ROOT/$BUILD/btl/btl.a +build $DST/../lmerge: ld $DST/lmerge.cpp.o $BTL_LIB/btl.a