summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-27 18:55:07 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-27 18:55:07 +0200
commit487a66394061f2d14a2fa421302966b5442d643f (patch)
tree34237d4e9cb85f94bcefd46f399d2224dff3f6b3 /Makefile
parentCorrect shell prompt (diff)
download42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.gz
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.bz2
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.xz
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.zst
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.zip
I couldn't see shit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
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})