aboutsummaryrefslogtreecommitdiffstats
path: root/options.mk
blob: ca33201d82f3ed4c7fa192177c77ecd18249ed00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# options.mk

# Locations of the data, players and games directories.
FICS_HOME ?= /home/chess/config

PREFIX ?= /home/chess

CC ?= cc
CFLAGS = -O2 -Wall -g -pipe -std=c11 \
	-Wsign-compare \
	-Wstrict-prototypes

CXX ?= c++
CXXFLAGS = -O2 -Wall -g -pipe -std=c++17

# C preprocessor flags
CPPFLAGS = -D_DEFAULT_SOURCE=1

LDFLAGS =
LDLIBS = -lbsd -lcrypt
RM ?= @rm -f

E = @echo
Q = @

# addplayer
AP_LDFLAGS =
AP_LDLIBS = -lbsd -lcrypt

# makerank
MR_LDFLAGS =
MR_LDLIBS = -lbsd