From 3bece216cf4c22e11cca32a2c1c1767bb811a9ac Mon Sep 17 00:00:00 2001 From: Li Date: Sat, 18 Dec 2021 13:43:18 -0500 Subject: [PATCH] Add the debug option in makefile. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index f099d35..91fa7f1 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,12 @@ LINKFLAGS = -lpthread -lz DEBUG= OBJECTS = main.o #BaseReads.o Alignment.o +#asan=1 +ifneq ($(asan),) + CXXFLAGS+=-fsanitize=address -g + LDFLAGS+=-fsanitize=address -ldl -g +endif + all: trust4 bam-extractor fastq-extractor annotator trust4: main.o