diff --git a/Makefile b/Makefile index 2b815d6..97fd812 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ GNL = get_next_line/get_next_line.c get_next_line/get_next_line_utils.c SRCS = mandatory/pipex.c mandatory/pipex_utils.c mandatory/pipex_parsing.c ${GNL} -SRCS_BONUS = bonus/pipex.c bonus/pipex_utils.c bonus/pipex_parsing.c bonus/pipex_heredoc.c bonus/pipex_utils2.c ${GNL} +SRCS_BONUS = bonus/pipex_bonus.c bonus/pipex_utils_bonus.c bonus/pipex_parsing_bonus.c bonus/pipex_heredoc_bonus.c bonus/pipex_utils2_bonus.c ${GNL} OBJS = ${SRCS:.c=.o} OBJS_BONUS = ${SRCS_BONUS:.c=.o} LIBS = libft/libft.a diff --git a/bonus/pipex.c b/bonus/pipex_bonus.c similarity index 92% rename from bonus/pipex.c rename to bonus/pipex_bonus.c index 672ce97..4b968be 100644 --- a/bonus/pipex.c +++ b/bonus/pipex_bonus.c @@ -1,16 +1,16 @@ /* ************************************************************************** */ /* */ /* ::: :::::::: */ -/* pipex.c :+: :+: :+: */ +/* pipex_bonus.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ -/* Created: 2023/01/18 18:04:58 by erey-bet #+# #+# */ -/* Updated: 2023/03/08 19:16:14 by erey-bet ### ########.fr */ +/* Created: 2023/03/20 09:48:45 by erey-bet #+# #+# */ +/* Updated: 2023/03/20 09:48:53 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ -#include "pipex.h" +#include "pipex_bonus.h" void make_cmd(t_data data, int i, int fl1, int fl2) { diff --git a/bonus/pipex.h b/bonus/pipex_bonus.h similarity index 93% rename from bonus/pipex.h rename to bonus/pipex_bonus.h index e08fd6b..a4cd795 100644 --- a/bonus/pipex.h +++ b/bonus/pipex_bonus.h @@ -1,12 +1,12 @@ /* ************************************************************************** */ /* */ /* ::: :::::::: */ -/* pipex.h :+: :+: :+: */ +/* pipex_bonus.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/01/11 15:33:34 by erey-bet #+# #+# */ -/* Updated: 2023/03/08 14:33:18 by erey-bet ### ########.fr */ +/* Updated: 2023/03/20 09:51:26 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ diff --git a/bonus/pipex_heredoc.c b/bonus/pipex_heredoc_bonus.c similarity index 92% rename from bonus/pipex_heredoc.c rename to bonus/pipex_heredoc_bonus.c index 32decd6..b0d70bb 100644 --- a/bonus/pipex_heredoc.c +++ b/bonus/pipex_heredoc_bonus.c @@ -1,16 +1,16 @@ /* ************************************************************************** */ /* */ /* ::: :::::::: */ -/* pipex_heredoc.c :+: :+: :+: */ +/* pipex_heredoc_bonus.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/02/14 11:22:13 by erey-bet #+# #+# */ -/* Updated: 2023/03/08 14:38:34 by erey-bet ### ########.fr */ +/* Updated: 2023/03/20 09:49:11 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ -#include "pipex.h" +#include "pipex_bonus.h" int parsing_here_doc(int argc, char *argv[], t_data *data) { diff --git a/bonus/pipex_parsing.c b/bonus/pipex_parsing_bonus.c similarity index 93% rename from bonus/pipex_parsing.c rename to bonus/pipex_parsing_bonus.c index 8553d91..bb04970 100644 --- a/bonus/pipex_parsing.c +++ b/bonus/pipex_parsing_bonus.c @@ -1,16 +1,16 @@ /* ************************************************************************** */ /* */ /* ::: :::::::: */ -/* pipex_parsing.c :+: :+: :+: */ +/* pipex_parsing_bonus.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/01/19 17:03:01 by erey-bet #+# #+# */ -/* Updated: 2023/03/12 17:56:18 by erey-bet ### ########.fr */ +/* Updated: 2023/03/20 09:49:22 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ -#include "pipex.h" +#include "pipex_bonus.h" int parsing(int argc, char *argv[], char **env, t_data *data) { diff --git a/bonus/pipex_utils2.c b/bonus/pipex_utils2_bonus.c similarity index 92% rename from bonus/pipex_utils2.c rename to bonus/pipex_utils2_bonus.c index bf8655c..7d75510 100644 --- a/bonus/pipex_utils2.c +++ b/bonus/pipex_utils2_bonus.c @@ -1,16 +1,16 @@ /* ************************************************************************** */ /* */ /* ::: :::::::: */ -/* pipex_utils2.c :+: :+: :+: */ +/* pipex_utils2_bonus.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/02/14 15:46:08 by erey-bet #+# #+# */ -/* Updated: 2023/03/08 14:39:39 by erey-bet ### ########.fr */ +/* Updated: 2023/03/20 09:49:35 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ -#include "pipex.h" +#include "pipex_bonus.h" int open_close_pipe(t_data *data, int boolean, int file) { diff --git a/bonus/pipex_utils.c b/bonus/pipex_utils_bonus.c similarity index 93% rename from bonus/pipex_utils.c rename to bonus/pipex_utils_bonus.c index 75fa77f..b881f0f 100644 --- a/bonus/pipex_utils.c +++ b/bonus/pipex_utils_bonus.c @@ -1,16 +1,16 @@ /* ************************************************************************** */ /* */ /* ::: :::::::: */ -/* pipex_utils.c :+: :+: :+: */ +/* pipex_utils_bonus.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/01/19 17:02:51 by erey-bet #+# #+# */ -/* Updated: 2023/03/06 13:24:53 by erey-bet ### ########.fr */ +/* Updated: 2023/03/20 09:49:45 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ -#include "pipex.h" +#include "pipex_bonus.h" int get_next(char *cmd, char c) {