aboutsummaryrefslogtreecommitdiffstats
path: root/options.mk
blob: 72ca211abfcf8f4dfd65c51c02e7a8625b757994 (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
# options.mk

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

PREFIX ?= /usr/local

CC ?= cc
CFLAGS = -O2 -Wall -pipe -std=c11

CXX ?= c++
CXXFLAGS = -std=c++17

# C preprocessor flags
CPPFLAGS = -D_DEFAULT_SOURCE=1

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

E = @echo
Q = @

# addplayer
AP_LDFLAGS =
AP_LDLIBS = -lcrypt

# makerank
MR_LDFLAGS =
MR_LDLIBS =