mirror of
https://github.com/Tiiffi/mcrcon.git
synced 2025-10-28 11:51:08 -04:00
Update and rename COMPILING to INSTALL
This commit is contained in:
@ -1,7 +1,13 @@
|
|||||||
Compile with GCC or CLANG:
|
Compiling and installing
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
Only dependency is C library with POSIX getopt support.
|
||||||
|
|
||||||
|
Compiling with GCC or CLANG:
|
||||||
|
|
||||||
cc -std=gnu99 -Wpedantic -Wall -Wextra -Os -s -o mcrcon mcrcon.c
|
cc -std=gnu99 -Wpedantic -Wall -Wextra -Os -s -o mcrcon mcrcon.c
|
||||||
|
|
||||||
Or you can just run "make".
|
Or you can just run "make":
|
||||||
|
|
||||||
make - compiles mcrcon
|
make - compiles mcrcon
|
||||||
make install - installs compiled binaries and manpage to the system
|
make install - installs compiled binaries and manpage to the system
|
||||||
@ -12,3 +18,4 @@ Or you can just run "make".
|
|||||||
/usr/share/man/man1/mcrcon.1
|
/usr/share/man/man1/mcrcon.1
|
||||||
|
|
||||||
On Window remember to link with winsockets by adding "-lws2_32" to your compiler command line.
|
On Window remember to link with winsockets by adding "-lws2_32" to your compiler command line.
|
||||||
|
Makefile should take care of this automatically but "install" and "uninstall" rules are disabled on windows.
|
||||||
Reference in New Issue
Block a user