buggy version of the parser. debugging with fsanitizer

This commit is contained in:
Mthandazo Ndhlovu
2019-04-01 11:48:33 +02:00
parent ab578f6039
commit 4e2fc9f19e
33 changed files with 3641 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ endif
# Compilator
CC = gcc
FLAGS = -Wall -Wextra -Werror
FLAGS = -Wall -Wextra -Werror -g -O0 -fsanitize=address
# Folders
LIBDIR = libft
@@ -36,7 +36,7 @@ OBJDIR = objs
INCDIR = includes libft/includes
# Source files
SRC = bfs.c \
SRC = bfs.c lem_in.c lm_parser.c lm_mem_utils.c lm_graph_utils.c \
lst_ind.c \
edmunds_karp.c
@@ -87,7 +87,7 @@ clean :
fclean : clean
@$(ECHO) "$(RED)===> $(GRE)$(NAME) : $(RED) Delete Binary File <===$(DEF)"
@$(RM) -f $(NAME1) $(NAME2)
@$(RM) -f $(NAME) $(NAME2)
@$(RM) -rf *.dSYM
@$(MAKE) -C $(LIBDIR) fclean