mirror of
https://github.com/Tiiffi/mcrcon.git
synced 2025-10-27 11:21:07 -04:00
16 lines
269 B
Makefile
16 lines
269 B
Makefile
# if you want to cross compile
|
|
# export PATH=$PATH:/path/to/compiler/bin
|
|
# export CROSS_COMPILE=arm-none-linux-gnueabi-
|
|
# make
|
|
|
|
CC = gcc
|
|
CFLAGS = -std=gnu11 -Wall -Wextra -Wpedantic -O2
|
|
|
|
all:
|
|
$(CROSS_COMPILE)$(CC) $(CFLAGS) -o mcrcon mcrcon.c
|
|
|
|
clean:
|
|
rm -f mcrcon
|
|
|
|
|