CXX = g++ INCLUDES = -I ../../include CPPFLAGS = -Wall SOURCES = main.cpp all: uart_protocol clean: rm -f main.o rm -f uart_protocol cd ../.. && make clean uart_protocol: main.o ../../build/bin/libvncxx.a $(CXX) -o uart_protocol main.o -L ../../build/bin -lvncxx -lpthread ../../build/bin/libvncxx.a: cd ../.. && make main.o: main.cpp $(CXX) $(CPPFLAGS) $(INCLUDES) -c $< -o $@