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
|
## 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
|
||||||
```
|
```
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
imagemagick
|
imagemagick
|
||||||
wayland-scanner
|
wayland-scanner
|
||||||
wayland
|
wayland
|
||||||
wayland-protocol
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue