1
0
This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
2023-08-06 20:12:38 +02:00

31 lines
409 B
Makefile

SRCS = ft_main.c ft_errors.c ft_parse_dict.c ft_parse_line.c ft_parser.c ft_utils1.c ft_cut_nbr.c rush02.h
OBJS = ${SRCS:.c=.o}
NAME = rush-02
CC = gcc
CFLAGS = -Wall -Werror -Wextra
RM = rm -f
.c.o:
${CC} ${CFLAGS} -c $< -o ${<:.c=.o}
${NAME}: ${OBJS}
${CC} -o ${NAME} ${OBJS}
all: ${NAME}
clean:
${RM} ${OBJS}
fclean: clean
${RM} ${NAME}
re: fclean all
.PHONY: all clean fclean re