Add demo target
[ctestharness.git] / config.mk
blob9aac26a8c8e9c09e2bc4a5b9a526e8ea7e1e51b6
1 PROG = harness_demo
3 # compiler
4 CC = cc
6 # flags
7 CFLAGS = -std=c99 -Wall -Wextra -Wpedantic \
8 -Walloca -Wcast-qual -Wconversion -Wformat=2 -Wformat-security \
9 -Wnull-dereference -Wstack-protector -Wvla -Warray-bounds \
10 -Wbad-function-cast -Wconversion -Wshadow -Wstrict-overflow=4 -Wundef \
11 -Wstrict-prototypes -Wswitch-default -Wfloat-equal -Wimplicit-fallthrough \
12 -Wpointer-arith -Wswitch-enum \
13 -D_FORTIFY_SOURCE=2 \
14 -fstack-protector-strong -fPIE -fstack-clash-protection
16 LDFLAGS = -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-z,separate-code
18 # libs
19 LDLIBS =
21 # paths
22 PREFIX = /usr/local
23 MANPREFIX = ${PREFIX}/share/man
25 RM = rm