Update README.md with information about using Clang

This commit is contained in:
Stig-Ørjan Smelror 2024-06-28 16:40:48 +02:00
parent 86f9ff7b60
commit 48c6fb0d0b
2 changed files with 8 additions and 1 deletions

View File

@ -10,13 +10,20 @@ I just bought a new laptop and on my workstation I was using ssd from Sawfish wh
## Dependencies and compilation
This app requires GTK+ 3.0 development libraries and gcc.
This app requires GTK+ 3.0 development libraries and gcc or clang.
I am using this command to compile the program:
Using GCC:
```shell
% gcc ssdd.c -o ssdd `pkg-config --cflags --libs gtk+-3.0`
```
Using Clang:
```shell
% clang ssdd.c -o ssdd `pkg-config --cflags --libs gtk+-3.0`
```
This produces the binary `ssdd` which you can place in your $PATH.
## Configure Openbox to use it.

BIN
ssdd Executable file

Binary file not shown.