Merge branch 'Ratstail91:main' into main

This commit is contained in:
Add00
2023-08-21 10:54:27 -04:00
committed by GitHub
3 changed files with 11 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ all: $(OBJ) $(TESTS:%.c=../$(TOY_OUTDIR)/%.exe)
../$(TOY_OUTDIR)/%.exe: $(ODIR)/%.o
@$(CC) -o $@ $< $(TARGETS:../source/%.c=$(ODIR)/%.o) $(CFLAGS) $(LIBS)
ifeq ($(shell uname)$(DISABLE_VALGRIND),Linux)
valgrind --leak-check=full --track-origins=yes $@
valgrind --leak-check=full --track-origins=yes --show-leak-kinds=all $@
else
$@
endif