we got it !

functionning edmunds_karp
still need some testing for already used nodes
still need some memory protection
This commit is contained in:
Tanguy MAZE
2019-03-31 19:49:42 +02:00
parent 7a67b49802
commit ab578f6039
6 changed files with 323 additions and 41 deletions

View File

@@ -6,7 +6,7 @@
# By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2019/03/27 16:51:02 by tmaze #+# #+# #
# Updated: 2019/03/27 18:00:05 by tmaze ### ########.fr #
# Updated: 2019/03/31 19:48:45 by tmaze ### ########.fr #
# #
#******************************************************************************#
@@ -37,7 +37,8 @@ INCDIR = includes libft/includes
# Source files
SRC = bfs.c \
lst_ind.c
lst_ind.c \
edmunds_karp.c
OBJ = $(SRC:.c=.o)
@@ -47,6 +48,7 @@ LIBFILE = libft.a
# Prefixes
OBJP = $(addprefix $(OBJDIR)/, $(SRC:.c=.o))
INCP = $(foreach dir, $(INCDIR), -I$(dir))
OBJT = $(OBJDIR)/test.o
# Default Rule
DRULE = all