aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d842b7b..ff89d65 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,9 @@
CC=gcc
-CFLAGS=-Wall -Wextra -Wpedantic -g
-LDFLAGS=-lncurses
+#CFLAGS=-Wall -Wextra -Wpedantic -g
+#LDFLAGS=-lncurses
+
+CFLAGS = -Wall -Wextra -Wpedantic -g -fsanitize=address
+LDFLAGS = -lncurses -fsanitize=address
TARGET=sf
@@ -23,3 +26,4 @@ test: $(TARGET)
clean:
rm -f $(OBJS) $(TARGET)
+ rm ./asan.log*