First working with configuration

This commit is contained in:
Florian RICHER 2024-06-05 21:14:07 +02:00
parent 3dabb7149d
commit 7ebc95ecdd
5 changed files with 9 additions and 5 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
bin/

View file

@ -4,25 +4,29 @@
## Compiling ## Compiling
```bash
mkdir bin
```
Server Server
```bash ```bash
cc -o server server.c -lwayland-server cc -o ./bin/server ./src/server.c -lwayland-server
``` ```
Client Client
```bash ```bash
cc -o client client.c -lwayland-client cc -o ./bin/client ./src/client.c -lwayland-client
``` ```
## Run ## Run
Server Server
```bash ```bash
./server & ./bin/server &
``` ```
Client Client
```bash ```bash
WAYLAND_DISPLAY=wayland-1 ./client WAYLAND_DISPLAY=wayland-1 ./bin/client
``` ```

View file

@ -19,7 +19,6 @@
imagemagick imagemagick
wayland-scanner wayland-scanner
wayland wayland
wayland-protocol
]; ];
}; };
}; };