about summary refs log tree commit diff stats
path: root/Makefile
blob: 3dbb76a7efdfab85da2837e405f94d839610acec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CFLAGS=-std=gnu11 -Wall -Wextra -Wpedantic -Og -g -D_DEFAULT_SOURCE \
       -fsanitize=undefined -fsanitize=address
LDFLAGS=-fsanitize=undefined -fsanitize=address

ALL=bench

all: $(ALL)

bench: bench.o arena.o cached.o pool.o

clean:
	$(RM) $(ALL) *.o

.PHONY:	all check clean format

check:
	cppcheck --enable=all --std=c11 *.[ch]
format:
	clang-format -i *.[ch]