42_C_PISCINE/Rush/Rush02/ex00/Makefile

50 lines
1.5 KiB
Makefile
Raw Normal View History

2023-05-17 12:45:25 -04:00
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: kcarrere <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/07/30 15:25:55 by kcarrere #+# #+# #
# Updated: 2022/07/31 19:57:59 by kcarrere ### ########.fr #
# #
# **************************************************************************** #
NAME = rush-02
SRC = decompose.c \
dictionary_checker.c \
file_reader.c \
ft_atoapc.c \
ft_atoi.c \
ft_atonbr.c \
ft_ctoa.c \
ft_printapc.c \
ft_print_dicterror.c \
ft_print_error.c \
ft_putstr.c \
ft_reverse_str.c \
ft_split.c \
ft_strcat.c \
ft_strcmp.c \
ft_strlen.c \
ft_strstr.c \
ft_tablen.c \
ft_tabnbr.c \
main.c
FLAGS = -Wall -Werror -Wextra
all: ${NAME}
$(NAME):
gcc -o ${NAME} ${SRC} -Iincludes ${FLAGS}
clean:
rm -f *.o
fclean: clean
rm -f ${NAME}
.PHONY: all clean fclean