mirror of
https://github.com/Tiiffi/mcrcon.git
synced 2025-10-28 11:51:08 -04:00
Rename INSTALL.md to BUILDING.md
This commit is contained in:
22
INSTALL.md
22
INSTALL.md
@ -1,22 +0,0 @@
|
|||||||
Building and installing
|
|
||||||
-----------------------
|
|
||||||
|
|
||||||
Only dependency is C library and POSIX getopt support.
|
|
||||||
|
|
||||||
Compiling with GCC or CLANG:
|
|
||||||
|
|
||||||
cc -std=gnu99 -Wpedantic -Wall -Wextra -O2 -o mcrcon mcrcon.c
|
|
||||||
|
|
||||||
Note: on Windows remember to link with winsock by adding `-lws2_32` to your compiler command line.
|
|
||||||
|
|
||||||
Or you can just run "**make**":
|
|
||||||
|
|
||||||
make - compiles mcrcon
|
|
||||||
make install - installs compiled binaries and manpage to the system
|
|
||||||
make uninstall - removes binaries and manpage from the system
|
|
||||||
|
|
||||||
file install locations:
|
|
||||||
/usr/local/bin/mcrcon
|
|
||||||
/usr/local/share/man/man1/mcrcon.1
|
|
||||||
|
|
||||||
Makefile "**install**" and "**uninstall**" rules are disabled on windows.
|
|
||||||
Reference in New Issue
Block a user