mirror of
https://github.com/Tiiffi/mcrcon.git
synced 2025-10-27 11:21:07 -04:00
More make and CI bits tweaks
This commit is contained in:
11
.travis.yml
11
.travis.yml
@ -6,10 +6,15 @@ cache:
|
|||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
- clang
|
- clang
|
||||||
install: 'true'
|
env:
|
||||||
|
global:
|
||||||
|
- EXTRAFLAGS=
|
||||||
|
- PREFIX="${HOME}"
|
||||||
|
install:
|
||||||
|
- 'true'
|
||||||
script:
|
script:
|
||||||
- make
|
- make
|
||||||
- ./mcrcon -h
|
- ./mcrcon -h
|
||||||
- ./mcrcon -v
|
- ./mcrcon -v
|
||||||
- make install PREFIX="${HOME}"
|
- make install
|
||||||
- make uninstall PREFIX="${HOME}"
|
- make uninstall
|
||||||
|
|||||||
8
Makefile
8
Makefile
@ -6,10 +6,10 @@
|
|||||||
EXENAME = mcrcon
|
EXENAME = mcrcon
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
|
|
||||||
CFLAGS = -std=gnu99 -Wall -Wextra -Wpedantic -Os -s
|
CFLAGS ?= -std=gnu99 -Wall -Wextra -Wpedantic -Os -s
|
||||||
EXTRAFLAGS = -fstack-protector-strong
|
EXTRAFLAGS ?= -fstack-protector-strong
|
||||||
|
|
||||||
CC = gcc
|
CC ?= gcc
|
||||||
INSTALL = install
|
INSTALL = install
|
||||||
LINKER =
|
LINKER =
|
||||||
RM = rm -f
|
RM = rm -f
|
||||||
@ -22,7 +22,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(shell uname), Darwin)
|
ifeq ($(shell uname), Darwin)
|
||||||
INSTALL = ginstall
|
INSTALL = ginstall
|
||||||
CFLAGS = -std=gnu99 -Wall -Wextra -Wpedantic -Os
|
CFLAGS ?= -std=gnu99 -Wall -Wextra -Wpedantic -Os
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
|
|||||||
Reference in New Issue
Block a user