diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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}) |