xcb-studies/xcb_read/Makefile

18 lines
249 B
Makefile

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
run: build/xrandr
./build/xrandr