builtins.h
This commit is contained in:
2
Makefile
2
Makefile
@@ -5,7 +5,7 @@ LINK = -lreadline
|
|||||||
SRCDIR = srcs
|
SRCDIR = srcs
|
||||||
OBJDIR = .objs
|
OBJDIR = .objs
|
||||||
BONUS_OBJDIR = bonus_objs
|
BONUS_OBJDIR = bonus_objs
|
||||||
INCDIR = .
|
INCDIR = includes/
|
||||||
LIBFT_DIR = lib/libft
|
LIBFT_DIR = lib/libft
|
||||||
|
|
||||||
NAME = minishell
|
NAME = minishell
|
||||||
|
|||||||
10
includes/builtins.h
Normal file
10
includes/builtins.h
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
#ifndef BUILTINS_H
|
||||||
|
# define BUILTINS_H
|
||||||
|
|
||||||
|
# include "../lib/libft/libft.h"
|
||||||
|
# include <stdio.h>
|
||||||
|
# include <unistd.h>
|
||||||
|
|
||||||
|
// void echo(char *msg, int flag);
|
||||||
|
|
||||||
|
#endif
|
||||||
@@ -7,6 +7,7 @@
|
|||||||
# include <stdlib.h>
|
# include <stdlib.h>
|
||||||
|
|
||||||
# include "lib/libft/libft.h"
|
# include "lib/libft/libft.h"
|
||||||
|
# include "builtins.h"
|
||||||
|
|
||||||
# define POW1 "\033[1;38;2;21;22;26;48;2;92;106;178m"
|
# 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"
|
# define POW2 "\033[1;38;2;92;106;178;48;2;54;54;54m"
|
||||||
Reference in New Issue
Block a user