mirror of
https://github.com/Tiiffi/mcrcon.git
synced 2025-10-27 03:11: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:
|
||||
- gcc
|
||||
- clang
|
||||
install: 'true'
|
||||
env:
|
||||
global:
|
||||
- EXTRAFLAGS=
|
||||
- PREFIX="${HOME}"
|
||||
install:
|
||||
- 'true'
|
||||
script:
|
||||
- make
|
||||
- ./mcrcon -h
|
||||
- ./mcrcon -v
|
||||
- make install PREFIX="${HOME}"
|
||||
- make uninstall PREFIX="${HOME}"
|
||||
- make install
|
||||
- make uninstall
|
||||
|
||||
8
Makefile
8
Makefile
@ -6,10 +6,10 @@
|
||||
EXENAME = mcrcon
|
||||
PREFIX ?= /usr/local
|
||||
|
||||
CFLAGS = -std=gnu99 -Wall -Wextra -Wpedantic -Os -s
|
||||
EXTRAFLAGS = -fstack-protector-strong
|
||||
CFLAGS ?= -std=gnu99 -Wall -Wextra -Wpedantic -Os -s
|
||||
EXTRAFLAGS ?= -fstack-protector-strong
|
||||
|
||||
CC = gcc
|
||||
CC ?= gcc
|
||||
INSTALL = install
|
||||
LINKER =
|
||||
RM = rm -f
|
||||
@ -22,7 +22,7 @@ endif
|
||||
|
||||
ifeq ($(shell uname), Darwin)
|
||||
INSTALL = ginstall
|
||||
CFLAGS = -std=gnu99 -Wall -Wextra -Wpedantic -Os
|
||||
CFLAGS ?= -std=gnu99 -Wall -Wextra -Wpedantic -Os
|
||||
endif
|
||||
|
||||
.PHONY: all
|
||||
|
||||
Reference in New Issue
Block a user