.PHONY: build run upload legacy SOURCES := $(wildcard src/ros2aria/src/*.cpp) HEADERS := $(wildcard src/ros2aria/src/*.hpp) build/ros2aria/ros2aria: $(SOURCES) $(HEADERS) colcon build build: build/ros2aria/ros2aria .uploaded: build/ros2aria/ros2aria rsync -r build/ros2aria/ros2aria lab1_5@pionier6:~/ros2aria touch .uploaded upload: .uploaded run: upload ssh lab1_5@pionier6 -t -- docker run --rm --network=host -it --device /dev/ttyS0 -v /home/lab1_5:/ws irth7/ros2aria-dev /ws/ros2aria legacy: ssh lab1_5@pionier6 -t -- ./run.sh