diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-28 16:24:36 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-28 16:24:36 +0200 |
commit | 0a838c36ae5eb2a8c3496568a8c7cefa1f3c5136 (patch) | |
tree | 93c173286b2516aee433beec4d4f4814535b3835 /Makefile | |
parent | Ok argv, envp (diff) | |
download | 42-minishell-0a838c36ae5eb2a8c3496568a8c7cefa1f3c5136.tar.gz 42-minishell-0a838c36ae5eb2a8c3496568a8c7cefa1f3c5136.tar.bz2 42-minishell-0a838c36ae5eb2a8c3496568a8c7cefa1f3c5136.tar.xz 42-minishell-0a838c36ae5eb2a8c3496568a8c7cefa1f3c5136.tar.zst 42-minishell-0a838c36ae5eb2a8c3496568a8c7cefa1f3c5136.zip |
Makefile update
Diffstat (limited to '')
-rw-r--r-- | Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -6,11 +6,11 @@ SHELL := /bin/sh #==============================================================================# #------------------------------ DIRECTORIES -----------------------------------# #==============================================================================# -SRCS_DIR = src/ -OBJS_DIR = obj/ -LFT_DIR = libft/ -LFT_INCS_DIR = ${LFT_DIR}inc/ -LFT_SRCS_DIR = ${LFT_DIR}src/ +SRCS_DIR = src/ +OBJS_DIR = obj/ +LFT_DIR = libft/ +LFT_INCS_DIR = ${LFT_DIR}inc/ +LFT_SRCS_DIR = ${LFT_DIR}src/ #==============================================================================# #--------------------------------- FILES --------------------------------------# #==============================================================================# @@ -46,7 +46,7 @@ SRCS_NAME += ft_p_lcom_next.c SRCS_NAME += ft_u_utils.c SRCS_NAME += ft_u_vars.c #------------------------------------------------------------------------------# -SRCS = $(addprefix ${SRCS_DIR}, ${SRCS_NAME}) +SRCS = $(addprefix ${SRCS_DIR}, ${SRCS_NAME}) #------------------------------------------------------------------------------# INCS_NAME = ft_b_builtins.h INCS_NAME += ft_d_enum.h @@ -54,17 +54,17 @@ INCS_NAME += ft_d_define.h INCS_NAME += ft_s_struct.h INCS_NAME += $(patsubst %.c,%.h,${SRCS_NAME}) #------------------------------------------------------------------------------# -INCS = $(addprefix ${SRCS_DIR}, ${INCS_NAME}) +INCS = $(addprefix ${SRCS_DIR}, ${INCS_NAME}) #------------------------------------------------------------------------------# -OBJS = $(patsubst ${SRCS_DIR}%.c,${OBJS_DIR}%.o,${SRCS}) +OBJS = $(patsubst ${SRCS_DIR}%.c,${OBJS_DIR}%.o,${SRCS}) #------------------------------------------------------------------------------# -NAME = minishell +NAME = minishell #------------------------------------------------------------------------------# -LFT_SRCS = $(shell find ${LFT_SRCS_DIR} -name "*.c") +LFT_SRCS = $(shell find ${LFT_SRCS_DIR} -name "*.c") #==============================================================================# #-------------------------------- COMPILER ------------------------------------# #==============================================================================# -CC = clang +CC = clang CFLAGS = -std=c89 CFLAGS += -Wall CFLAGS += -Wextra |