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