diff --git a/README.md b/README.md index 0de946a..388415f 100644 --- a/README.md +++ b/README.md @@ -2,31 +2,27 @@ - https://wayland-book.com/ + ## Compiling ```bash -mkdir bin +mkdir -p build # Create build directory ``` -Server ```bash -cc -o ./bin/server ./src/server.c -lwayland-server +cmake -Bbuild -G Ninja # Configure build folder with ninja builder ``` -Client ```bash -cc -o ./bin/client ./src/client.c -lwayland-client +ninja -C build ``` ## Run -Server ```bash -./bin/server & +./build/wayland_test_server & ``` -Client - ```bash -WAYLAND_DISPLAY=wayland-1 ./bin/client +./build/wayland_test_client ```