blob: 209a7cdb776b728dd97b308b5418ea33b275cc1d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright (c) 2020 Johannes Stoelp
check: build
./checker
build: checker.cc test_helper.h ../lib/libcommon.a
g++ -o checker \
-g -O2 \
-I ../lib/include \
-Wall -Wextra \
-fsanitize=address \
-fsanitize=pointer-compare \
-fsanitize=pointer-subtract \
-fsanitize=undefined \
$(filter-out %.h, $^)
../lib/libcommon.a:
make -C ../lib
clean:
rm -f checker
make -C ../lib clean
|