blob: da9db8c3425edb4769e6fa4b1d5cf4a8477f9a4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
all: build/phonelock
build/phonelock: build main.c wayland-client.h wayland-protocol.c
gcc -Wall -o build/phonelock main.c
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
|