From 487a66394061f2d14a2fa421302966b5442d643f Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 27 Jul 2020 18:55:07 +0200 Subject: I couldn't see shit --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1eb996b..0ae293d 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,7 @@ SRCS_NAME += m_argv SRCS_NAME += m_comm SRCS_NAME += m_funptr SRCS_NAME += m_loop +SRCS_NAME += m_minishell SRCS_NAME += m_prompt SRCS_NAME += m_redirs SRCS_NAME += s_destroy @@ -49,17 +50,14 @@ SRCS_NAME += p_lcom_next SRCS_NAME += u_utils SRCS_NAME += u_vars #------------------------------------------------------------------------------# -SRCS = $(addprefix ${SRCS_DIR}, $(addprefix ft_, \ - $(addsuffix .c, ${SRCS_NAME}))) -SRCS += ${SRCS_DIR}minishell.c +SRCS = $(addprefix ${SRCS_DIR}, $(addsuffix .c, ${SRCS_NAME})) #------------------------------------------------------------------------------# INCS_NAME = b_builtins INCS_NAME += d_enum INCS_NAME += d_define INCS_NAME += s_struct #------------------------------------------------------------------------------# -INCS = $(addprefix ${SRCS_DIR}, $(addprefix ft_, \ - $(addsuffix .h, ${INCS_NAME}))) +INCS = $(addprefix ${SRCS_DIR}, $(addsuffix .h, ${INCS_NAME})) INCS += $(patsubst %.c,%.h,${SRCS}) #------------------------------------------------------------------------------# OBJS = $(patsubst ${SRCS_DIR}%.c,${OBJS_DIR}%.o,${SRCS}) -- cgit v1.2.3