diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2022-09-25 12:37:58 +0200 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2022-09-25 12:37:58 +0200 |
commit | 9aff43ff3b692f9fd15ae1f29e6522b5a4ee7642 (patch) | |
tree | 56ee5fbb8980e6642a0136875dd99837e3d7d043 /README.md | |
parent | 7deabe9ff611d68ae780903e4970b5d73cd13493 (diff) | |
download | messenger-cli-9aff43ff3b692f9fd15ae1f29e6522b5a4ee7642.tar.gz messenger-cli-9aff43ff3b692f9fd15ae1f29e6522b5a4ee7642.zip |
Transition from single makefile to automake
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -24,14 +24,22 @@ The following dependencies are required and need to be installed to build the ap | |||
24 | - [libgnunetchat](https://git.gnunet.org/libgnunetchat.git/): For chatting via GNUnet messenger | 24 | - [libgnunetchat](https://git.gnunet.org/libgnunetchat.git/): For chatting via GNUnet messenger |
25 | - [ncurses](https://www.gnu.org/software/ncurses/): For the general UI visualization | 25 | - [ncurses](https://www.gnu.org/software/ncurses/): For the general UI visualization |
26 | 26 | ||
27 | Then you can simply use the provided Makefile as follows: | 27 | Then you can simply use [Autotools](https://www.gnu.org/software/automake/) as follows: |
28 | ``` | ||
29 | ./bootstrap # Generate the configure script | ||
30 | ./configure # Configure the Makefiles for your system | ||
31 | make # Build the application using the Makefiles | ||
32 | sudo make install # Install the application | ||
33 | ``` | ||
34 | |||
35 | Here is a list of some useful build targets in the Makefile: | ||
28 | 36 | ||
29 | - `make` to just compile everything with default parameters | 37 | - `make` to just compile everything with default parameters |
30 | - `make clean` to cleanup build files in case you want to recompile | 38 | - `make clean` to cleanup build files in case you want to recompile |
31 | - `make debug` to compile everything with debug parameters | ||
32 | - `make release` to compile everything with build optimizations enabled | ||
33 | - `make install` to install the compiled files (you might need sudo permissions to install) | 39 | - `make install` to install the compiled files (you might need sudo permissions to install) |
34 | 40 | ||
41 | If you want to change the installation location, use the `--prefix=` parameter in the `configure` script. Also you can enable debugging builds by adding `--enable-debug` as parameter when running the `configure` script. | ||
42 | |||
35 | ## Contribution | 43 | ## Contribution |
36 | 44 | ||
37 | If you want to contribute to this project as well, the following options are available: | 45 | If you want to contribute to this project as well, the following options are available: |