diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2025-09-15 18:50:32 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2025-09-15 18:50:32 +0200 |
commit | c3eee8e333866d92e5fd94ae83cef618758c11bb (patch) | |
tree | 234a06fd90bd61a6668490a0cbf8870e6c674b81 /options.mk |
FICS RPBLC v1.4.61.4.6
Diffstat (limited to 'options.mk')
-rw-r--r-- | options.mk | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/options.mk b/options.mk new file mode 100644 index 0000000..48a6666 --- /dev/null +++ b/options.mk @@ -0,0 +1,34 @@ +# 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 \ + -Wformat-security \ + -Wshadow \ + -Wsign-compare \ + -Wstrict-prototypes + +CXX ?= c++ +CXXFLAGS = -O2 -Wall -g -pipe -std=c++17 + +# C preprocessor flags +CPPFLAGS = -D_DEFAULT_SOURCE=1 -D_FORTIFY_SOURCE=3 + +LDFLAGS = +LDLIBS = -lbsd -lcrypt +RM ?= @rm -f + +E = @echo +Q = @ + +# addplayer +AP_LDFLAGS = +AP_LDLIBS = -lbsd -lcrypt + +# makerank +MR_LDFLAGS = +MR_LDLIBS = -lbsd -lcrypt |