enleve les lignes de debugs dans le makefile
This commit is contained in:
5
Makefile
5
Makefile
@@ -111,12 +111,7 @@ all: $(ODIR) $(NAME)
|
|||||||
|
|
||||||
$(ODIR):
|
$(ODIR):
|
||||||
# @echo "\033[33mcreate $(ODIR)\033[0m"
|
# @echo "\033[33mcreate $(ODIR)\033[0m"
|
||||||
@echo ""
|
|
||||||
mkdir -p $(ODIR)
|
mkdir -p $(ODIR)
|
||||||
ls
|
|
||||||
@echo ""
|
|
||||||
ls srcs/
|
|
||||||
@echo ""
|
|
||||||
|
|
||||||
$(NAME): $(OBJS) $(DEPS)
|
$(NAME): $(OBJS) $(DEPS)
|
||||||
# @echo "\033[33mbuilding $(NAME)\033[0m"
|
# @echo "\033[33mbuilding $(NAME)\033[0m"
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -6,7 +6,7 @@
|
|||||||
/* By: hulamy <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: hulamy <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2019/11/25 14:00:13 by hulamy #+# #+# */
|
/* Created: 2019/11/25 14:00:13 by hulamy #+# #+# */
|
||||||
/* Updated: 2019/11/27 20:43:25 by hulamy ### ########.fr */
|
/* Updated: 2019/11/27 20:47:35 by hulamy ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@@ -81,12 +81,14 @@ static int ft_count_word(char const *s, char c)
|
|||||||
i = -1;
|
i = -1;
|
||||||
len = 0;
|
len = 0;
|
||||||
while (s[++i])
|
while (s[++i])
|
||||||
|
{
|
||||||
if (s[i] != c)
|
if (s[i] != c)
|
||||||
{
|
{
|
||||||
len++;
|
len++;
|
||||||
while (s[i] && s[i] != c)
|
while (s[i] && s[i] != c)
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return (len);
|
return (len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user