lmerge.ninja (348B)
1 # lmerge.ninja 2 PROJECT = lmerge 3 4 CXXFLAGS = $$CXXFLAGS -fcolor-diagnostics -fno-rtti -fno-exceptions 5 6 SRC = ./$PROJECT/src 7 DST = ./build/$PROJECT/src 8 9 BTL_LIB = ./build/btl/ 10 BTL_INC = ./btl/src/ 11 CXXFLAGS = $CXXFLAGS -I$BTL_INC -DFILE_PTR=FILE* 12 13 build $DST/lmerge.cpp.o: cxx $SRC/lmerge.cpp 14 build $DST/../lmerge: ld $DST/lmerge.cpp.o $BTL_LIB/btl.a