Began working on a few bugs, thanks /u/skeeto!

This commit is contained in:
2023-01-15 20:30:17 +00:00
parent aeecfabbbc
commit 68ed39fc45
5 changed files with 22 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
# Optimisation Options
# export CFLAGS+=-O2 -mtune=native -march=native
# export CFLAGS+=-fsanitize=address,undefined
export TOY_OUTDIR = out
@@ -35,6 +36,12 @@ static-release: $(TOY_OUTDIR)
test: clean $(TOY_OUTDIR)
$(MAKE) -C test
test-sanitized: export CFLAGS+=-fsanitize=address,undefined
test-sanitized: export LIBS+=-static-libasan
test-sanitized: export DISABLE_VALGRIND=true
test-sanitized: clean $(TOY_OUTDIR)
$(MAKE) -C test
$(TOY_OUTDIR):
mkdir $(TOY_OUTDIR)