srcs files moved

This commit is contained in:
LuckyLaszlo
2021-12-16 03:37:34 +01:00
parent 5a0a237aaa
commit f53969cd45
12 changed files with 11 additions and 7 deletions

View File

@@ -5,11 +5,14 @@ CC = clang
CFLAGS = -Wall -Wextra $(INCLUDES) -g # add -Werror, del -g
VPATH = $(DIR_SRCS)
DIR_SRCS = srcs srcs/builtins \
DIR_SRCS = srcs \
srcs/builtins \
srcs/lexing \
srcs/parsing srcs/parsing/valid_syntax \
srcs/parsing/expansions srcs/parsing/redirections \
srcs/exec
srcs/exec \
srcs/generic \
srcs/misc \
INCLUDES = -I$(HEADERS_D) -I$(LIBFT_D)
@@ -25,19 +28,20 @@ LIBS = -L $(LIBFT_D) -lft \
LIBFT_D = ./libft
LIBFT = $(LIBFT_D)/libft.a
SRCS = main.c init.c retrieve_path.c free.c generic.c error_wrappers.c \
signals.c \
SRCS = main.c \
shell_loop.c shell_script.c \
init.c retrieve_path.c free.c \
signals.c error_wrappers.c last_exit_status.c \
lexing.c fill_token.c check_operators.c \
parsing.c create_pipeline.c \
valid_syntax.c valid_pipeline.c valid_command.c valid_io_redirect.c \
expansions.c expand_token.c rejoin_after_expand.c new_token_for_each_field.c \
ft_split_quotes.c ft_strdup_quotes.c \
redirections.c here_doc.c \
exec_cmd_line.c pipeline.c \
find_access.c subshell_exec.c subshell_wait.c simple_cmd_builtin.c \
last_exit_status.c \
cd.c pwd.c export.c unset.c exit.c env.c echo.c
cd.c pwd.c export.c unset.c exit.c env.c echo.c \
generic.c \
ft_split_quotes.c ft_strdup_quotes.c \
DIR_OBJS = builds
OBJS = $(SRCS:%.c=$(DIR_OBJS)/%.o)