git clone
git clone --recursive git@github.com:Reactive-Extensions/RxCpp.git
Makefile
CC :=g++
INCDIR := -I<rxcpp/RxCpp/Rx/v2/srcへのフルパス>
SOURCES :=$(wildcard *.cpp)
EXECUTABLE :=$(SOURCES:.cpp=)
all:$(EXECUTABLE)
$(EXECUTABLE):$(SOURCES)
$(CC) $< $(INCDIR) -std=c++11 -pthread -o $@
clean:
rm -rf $(EXECUTABLE)
RxCpp/Rx/v2/examples/println/main.cpp を実行する
$ make
$ ./main
===== println stream of std::string =====
Hello, Matthew!
...