mirror of
https://github.com/Tiiffi/mcrcon.git
synced 2025-10-27 11:21:07 -04:00
Update Makefile
This commit is contained in:
7
Makefile
7
Makefile
@ -1,7 +1,10 @@
|
|||||||
# if you want to cross compile
|
# if you want to cross compile:
|
||||||
# export PATH=$PATH:/path/to/compiler/bin
|
# export PATH=$PATH:/path/to/compiler/bin
|
||||||
# export CROSS_COMPILE=arm-none-linux-gnueabi-
|
# export CROSS_COMPILE=arm-none-linux-gnueabi-
|
||||||
# make
|
# make
|
||||||
|
#
|
||||||
|
# Windows cross compile:
|
||||||
|
# i686-w64-mingw32-gcc -std=gnu99 -Wall -Wextra -Wpedantic -Os -s -o mcrcon.exe mcrcon.c -lws2_32
|
||||||
|
|
||||||
EXENAME = mcrcon
|
EXENAME = mcrcon
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
@ -10,7 +13,7 @@ INSTALL = install
|
|||||||
LINKER =
|
LINKER =
|
||||||
RM = rm -v -f
|
RM = rm -v -f
|
||||||
|
|
||||||
CC = cc
|
CC = gcc
|
||||||
CFLAGS = -std=gnu99 -Wall -Wextra -Wpedantic -Os -s
|
CFLAGS = -std=gnu99 -Wall -Wextra -Wpedantic -Os -s
|
||||||
EXTRAFLAGS ?= -fstack-protector-strong
|
EXTRAFLAGS ?= -fstack-protector-strong
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user