Update README.md with information about using Clang
This commit is contained in:
parent
86f9ff7b60
commit
48c6fb0d0b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user