diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-10-12 11:06:37 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-10-12 11:06:37 -0400 |
| commit | 332c114cf633f70027c28ec6bedb898d9de85e51 (patch) | |
| tree | 0a9bb4760772e5e407c1aef9b896d65165f82f6c /Makefile | |
| parent | 4ee5b8d6a9ebf49ce30ff7d93ef7401039ffecc6 (diff) | |
basic allocator with valgrind testing
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,5 @@ -.PHONY: kpl_test_memory kpl_test_thread clean rsync_list +.PHONY: kpl_valgrind kpl_test_valgrind kpl_test_memory kpl_test_thread clean rsync_list MAKEFLAGS := -j$(shell nproc) @@ -23,9 +23,15 @@ kpl: FLAGS += -DKPL_MAIN kpl: $(SOURCE_OBJECTS) $(CCOBJ) +kpl_valgrind: FLAGS += -DKPL_VALGRIND +kpl_valgrind: kpl + kpl_test: $(SOURCE_OBJECTS) $(TEST_OBJECTS) $(CCOBJ) +kpl_test_valgrind: FLAGS += -DKPL_VALGRIND +kpl_test_valgrind: kpl_test + kpl_test_memory: FFLAGS += -fsanitize=address,leak,undefined kpl_test_memory: kpl_test |
