|
@ -3,8 +3,8 @@ LIBFT = libft.a |
|
|
SRCS = minishell.c lexer.c parser.c utils.c caller.c built-in.c env.c |
|
|
SRCS = minishell.c lexer.c parser.c utils.c caller.c built-in.c env.c |
|
|
OBJS = ${SRCS:.c=.o} |
|
|
OBJS = ${SRCS:.c=.o} |
|
|
|
|
|
|
|
|
//READLINE_INC = ~/.brew/opt/readline/include |
|
|
#READLINE_INC = ~/.brew/opt/readline/include
|
|
|
//LIB = -L ~/.brew/lib -lreadline -L ~/.brew/lib -lhistory -L. -lft |
|
|
#LIB = -L ~/.brew/lib -lreadline -L ~/.brew/lib -lhistory -L. -lft
|
|
|
|
|
|
|
|
|
LIB = -lreadline -lhistory -L. -lft |
|
|
LIB = -lreadline -lhistory -L. -lft |
|
|
|
|
|
|
|
@ -23,7 +23,7 @@ all: $(NAME) |
|
|
clean: |
|
|
clean: |
|
|
rm -rf ${OBJS} |
|
|
rm -rf ${OBJS} |
|
|
|
|
|
|
|
|
fclean: clean |
|
|
fclean: clean |
|
|
${MAKE} -C ./libft fclean |
|
|
${MAKE} -C ./libft fclean |
|
|
rm -rf libft.a |
|
|
rm -rf libft.a |
|
|
rm -rf ${NAME} |
|
|
rm -rf ${NAME} |
|
|