all: build/xrandr .PHONY: all build: mkdir -p build build/Makefile: build CMakeLists.txt cd build && cmake .. build/xrandr: build/Makefile src/xrandr.cpp CMakeLists.txt cd build && make clean: rm -fr build