7 -Wno-unused-parameter \
11 WITH_VALGRIND
=$(FLAGS_DEFAULT
) -fsanitize
=undefined
12 WITH_ASAN
=$(FLAGS_DEFAULT
) -fsanitize
=undefined
,address
14 build
/list_test
: tests
/list_test.c lbutingtaon.h
15 cc $(WITH_ASAN
) tests
/list_test.c
-o build
/list_test
;
18 cc $(WITH_VALGRIND
) tests
/list_test.c
-o build
/list_test
;
19 valgrind .
/build
/list_test
;
21 build
/string_tests
: tests
/string_tests.c lbutingtaon.h
22 cc -g3 tests
/string_tests.c
-o build
/string_tests
24 build
/hashmap_tests
: tests
/hashmap_tests.c lbutingtaon.h
25 cc -g3 tests
/hashmap_tests.c
-o build
/hashmap_tests
27 build
/array_tests
: tests
/array_tests.c lbutingtaon.h
28 cc -g3 tests
/array_tests.c
-o build
/array_tests
30 build
/hashmap_stresstest
: tests
/hashmap_stresstest.c
31 cc -g3 tests
/hashmap_stresstest.c
-o build
/hashmap_stresstest
;