xcb-studies/Makefile

18 lines
249 B
Makefile
Raw Permalink Normal View History

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