Started testing the GC

Co-authored-by: ValterMiari <ValterMiari@users.noreply.github.com>
This commit is contained in:
Victor Olin 2023-02-15 16:57:11 +01:00
parent 30a3da3156
commit b168438c14
7 changed files with 188 additions and 65 deletions

22
src/GC/Makefile Normal file
View file

@ -0,0 +1,22 @@
CC = clang++
PWD = /home/virre/dev/systemF/org/language/src/GC/include
CFLAGS = -Wall -Wextra -v -std=gnu++20 -stdlib=libc++ -I
heap:
$(CC) $(CFLAGS)$(PWD) lib/heap.cpp
h_test:
rm -f tests/h_test.out
$(CC) $(CFLAGS)$(PWD) tests/h_test.cpp lib/heap.cpp -o tests/h_test.out
h_test_vg:
rm -f tests/h_test.out
$(CC) $(CFLAGS)$(PWD) -g tests/h_test.cpp lib/heap.cpp -o tests/h_test.out
linker:
rm -f tests/linker.out
$(CC) $(CFLAGS)$(PWD) tests/linker.cpp lib/heap.cpp -o tests/linker.out
linker_vg:
rm -f tests/linker.out
$(CC) $(CFLAGS)$(PWD) -g tests/linker.cpp lib/heap.cpp -o tests/linker.out