stego.git

config.mk

espurr
# stego - chess engine
# Copyright (C) 2025 ArcNyxx <me@arcnyxx.net>
# see LICENCE file for licensing information

VERSION = 0.0.0

PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man

WPROFILE = -Wall -Wextra -Wstrict-prototypes -Wmissing-declarations -Wshadow \
-Wswitch-default -Wunreachable-code -Wcast-align -Wpointer-arith -Wcast-qual \
-Wbad-function-cast -Winline -Wundef -Wnested-externs -Wwrite-strings \
-Wno-unused-parameter -Wfloat-equal -Wpedantic
STD = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L

CFLAGS = $(WPROFILE) $(STD) -g # -OS -O3 -g
LDFLAGS = -lcurses