diff options
-rw-r--r-- | Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -1,8 +1,16 @@ all: build/phonelock -build/phonelock: main.c - mkdir -p build +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 + rm -rf build wayland-client.h wayland-protocol.c |