First working with configuration
This commit is contained in:
parent
3dabb7149d
commit
7ebc95ecdd
5 changed files with 9 additions and 5 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
bin/
|
12
README.md
12
README.md
|
@ -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
|
||||
```
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
imagemagick
|
||||
wayland-scanner
|
||||
wayland
|
||||
wayland-protocol
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue