From 2bd971c726c830cdcc01c8e605f69f5c94d52ec3 Mon Sep 17 00:00:00 2001 From: Loic Deridder Date: Tue, 14 Jan 2025 11:24:44 +0100 Subject: [PATCH] builtins.h --- Makefile | 2 +- includes/builtins.h | 10 ++++++++++ minishell.h => includes/minishell.h | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 includes/builtins.h rename minishell.h => includes/minishell.h (94%) diff --git a/Makefile b/Makefile index c6b3e60..161ce5d 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ LINK = -lreadline SRCDIR = srcs OBJDIR = .objs BONUS_OBJDIR = bonus_objs -INCDIR = . +INCDIR = includes/ LIBFT_DIR = lib/libft NAME = minishell diff --git a/includes/builtins.h b/includes/builtins.h new file mode 100644 index 0000000..bcec082 --- /dev/null +++ b/includes/builtins.h @@ -0,0 +1,10 @@ +#ifndef BUILTINS_H +# define BUILTINS_H + +# include "../lib/libft/libft.h" +# include +# include + +// void echo(char *msg, int flag); + +#endif diff --git a/minishell.h b/includes/minishell.h similarity index 94% rename from minishell.h rename to includes/minishell.h index 4f1d6f0..0b897f9 100644 --- a/minishell.h +++ b/includes/minishell.h @@ -7,6 +7,7 @@ # include # include "lib/libft/libft.h" +# include "builtins.h" # define POW1 "\033[1;38;2;21;22;26;48;2;92;106;178m" # define POW2 "\033[1;38;2;92;106;178;48;2;54;54;54m"