arcnyxx.net.git
config.mk
# elk - html packer and compile script
# Copyright (C) 2024 ArcNyxx <me@arcnyxx.net>
# see LICENCE file for licensing information
VERSION = 0.0.0
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
LIB = -lgit2 -lfcgi
CFLAGS = $(WPROFILE) $(STD) -Os
LDFLAGS = $(LIB)
PP = cedrocc # until compilers implement #embed directive