all: build/phonelock build/phonelock: build main.c wayland-client.h wayland-protocol.c gcc -Wall -o build/phonelock main.c -lwayland-client build: mkdir -p build wayland-client.h: wayland-scanner client-header < /usr/share/wayland/wayland.xml > $@ wayland-protocol.c: wayland-scanner private-code < /usr/share/wayland/wayland.xml > $@ clean: rm -rf build wayland-client.h wayland-protocol.c