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
```bash
mkdir bin
```
Server
```bash
cc -o server server.c -lwayland-server
cc -o ./bin/server ./src/server.c -lwayland-server
```
Client
```bash
cc -o client client.c -lwayland-client
cc -o ./bin/client ./src/client.c -lwayland-client
```
## Run
Server
```bash
./server &
./bin/server &
```
Client
```bash
WAYLAND_DISPLAY=wayland-1 ./client
WAYLAND_DISPLAY=wayland-1 ./bin/client
```

View file

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