Debugged mark()
Co-authored-by: ValterMiari <ValterMiari@users.noreply.github.com>
This commit is contained in:
parent
fb5f283dfd
commit
b79a83c32a
5 changed files with 66 additions and 33 deletions
|
|
@ -7,19 +7,23 @@ CFLAGS = -Wall -Wextra -v -g -std=gnu++20 -stdlib=libc++ -I
|
|||
VGFLAGS = --leak-check=full --show-leak-kinds=all
|
||||
|
||||
heap:
|
||||
$(CC) $(CFLAGS)$(PWD_V) lib/heap.cpp
|
||||
$(CC) $(CFLAGS)$(PWD) lib/heap.cpp
|
||||
|
||||
h_test:
|
||||
rm -f tests/h_test.out
|
||||
$(CC) $(CFLAGS)$(PWD_V) tests/h_test.cpp lib/heap.cpp -o tests/h_test.out
|
||||
$(CC) $(CFLAGS)$(PWD) tests/h_test.cpp lib/heap.cpp -o tests/h_test.out
|
||||
|
||||
h_test_vg:
|
||||
make h_test
|
||||
valgrind $(VGFLAGS) tests/h_test.out
|
||||
|
||||
h_test_dbg:
|
||||
make h_test
|
||||
lldb tests/h_test.out launch
|
||||
|
||||
linker:
|
||||
rm -f tests/linker.out
|
||||
$(CC) $(CFLAGS)$(PWD_V) tests/linker.cpp lib/heap.cpp -o tests/linker.out
|
||||
$(CC) $(CFLAGS)$(PWD) tests/linker.cpp lib/heap.cpp -o tests/linker.out
|
||||
|
||||
linker_vg:
|
||||
make linker
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue