1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-06 10:56:34 +01:00

Make Toxic easier to port

This commit is contained in:
Leonid Bobrov
2018-10-03 00:31:14 +03:00
committed by iphydf
parent e7c5fbc873
commit f90a774470
9 changed files with 37 additions and 40 deletions

View File

@@ -38,8 +38,8 @@ You can omit `libnotify` if you intend to build without desktop notifications en
## Compiling
```
make PREFIX="/where/to/install"
sudo make install PREFIX="/where/to/install"
make
sudo env PREFIX="/where/to/install" make install
```
#### Documentation
@@ -50,8 +50,8 @@ Run `make doc` in the build directory after editing the asciidoc files to regene
## Notes
#### Compilation variables
* You can add specific flags to the Makefile with `USER_CFLAGS=""` and/or `USER_LDFLAGS=""`
* You can pass your own flags to the Makefile with `CFLAGS=""` and/or `LDFLAGS=""` (this will supersede the default ones)
* You can add specific flags to the Makefile with `USER_CFLAGS=""` and `USER_LDFLAGS=""` passed as the arguments to make or as environment variables
* You can use CFLAGS and LDFLAGS environment variables to add specific flags to the Makefile
* Additional features are automatically enabled if all dependencies are found, but you can disable them by using special variables:
* `DISABLE_X11=1` → build toxic without X11 support (needed for focus tracking)
* `DISABLE_AV=1` → build toxic without audio call support