debut du parsing :(

This commit is contained in:
Tom Moron
2024-02-06 22:23:32 +01:00
parent c13f32bf42
commit 9b80cc758f
11 changed files with 314 additions and 66 deletions

View File

@ -6,13 +6,14 @@
# By: tomoron <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/07/28 00:35:01 by tomoron #+# #+# #
# Updated: 2024/02/02 22:12:25 by tomoron ### ########.fr #
# Updated: 2024/02/06 22:07:47 by tomoron ### ########.fr #
# #
# **************************************************************************** #
CC = cc
SRCS = main.c\
ft_lst_cmd.c
OBJS = $(SRCS:.c=.o)
@ -25,7 +26,7 @@ NAME = minishell
all: $(NAME)
$(NAME) : $(LIBFT) $(OBJS)
$(CC) $(FLAGS) $(OBJS) $(LIBFT) -o $(NAME)
$(CC) $(FLAGS) $(OBJS) $(LIBFT) -lreadline -o $(NAME)
$(LIBFT) :
make --no-print-directory -j -C ./libft
@ -34,11 +35,11 @@ $(LIBFT) :
$(CC) $(FLAGS) -c $< -o $@
clean:
rm -f $(OBJS_PS) $(OBJS_CHECKER)
rm -f $(OBJS)
make --no-print-directory -C ./libft fclean
fclean: clean
rm -f push_swap checker
rm -f $(NAME)
re: fclean all