summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index d56dc56..7eb6e1a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,10 @@
all: build/phonelock
-build/phonelock: build main.c wayland-client.h wayland-protocol.c
+build/phonelock: build main.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
+ rm -rf build