diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-10-30 17:05:31 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-10-30 17:05:31 +0100 |
commit | 3051df7c3e57d5645a78d87fa63ff1144fd8699a (patch) | |
tree | 5676fe8501f965cc9e62b8c25791ce1c9a04b0f4 /Makefile | |
parent | work work (diff) | |
download | 42-minishell-3051df7c3e57d5645a78d87fa63ff1144fd8699a.tar.gz 42-minishell-3051df7c3e57d5645a78d87fa63ff1144fd8699a.tar.bz2 42-minishell-3051df7c3e57d5645a78d87fa63ff1144fd8699a.tar.xz 42-minishell-3051df7c3e57d5645a78d87fa63ff1144fd8699a.tar.zst 42-minishell-3051df7c3e57d5645a78d87fa63ff1144fd8699a.zip |
exit function works
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -23,7 +23,7 @@ SRCS = \ OBJS_DIR = obj/ OBJS = $(patsubst ${SRCS_DIR}%.c,${OBJS_DIR}%.o,${SRCS}) -INCS_DIR = -Iinc/ -Ilibft/ +INCS_DIR = -Iinc/ -Ilibft/inc/ LIB_DIR = -Llibft/ LIB = -lft @@ -40,7 +40,7 @@ RM = rm -rf MKDIR = mkdir -p -${OBJS_DIR}%.o: ${SRCS_DIR}%.c inc/minishell.h libft/libft.h +${OBJS_DIR}%.o: ${SRCS_DIR}%.c inc/minishell.h libft/inc/libft.h @${MKDIR} ${OBJS_DIR} ${CC} ${CFLAGS} ${DEBUG} ${INCS_DIR} -o $@ -c $< @@ -52,10 +52,12 @@ all: ${NAME} clean: ${RM} ${OBJS} ${B_OBJS} -fclean: clean +xclean: ${RM} ${NAME} ${RM} ${NAME}.dSYM +fclean: clean xclean + re: fclean all build: ${OBJS} @@ -63,4 +65,4 @@ build: ${OBJS} default: all -.PHONY: all clean clean fclean re bonus run +.PHONY: all clean clean fclean re |