rename bonus exercices to _bonus

This commit is contained in:
David Gailleton committed 2025-11-10 17:42:35 +01:00
1 parent 9bcbc8084b
commit 729b6d3003
10 files changed
+12 -14

No files matched your search

+12 -14
View File
@@ -45,15 +45,15 @@ SRC = ft_isalpha.c \
ft_putendl_fd.c \
ft_putnbr_fd.c
BONUS_SRC = ft_lstnew.c \
ft_lstadd_front.c \
ft_lstsize.c \
ft_lstlast.c \
ft_lstadd_back.c \
ft_lstdelone.c \
ft_lstclear.c \
ft_lstiter.c \
ft_lstmap.c
BONUS_SRC = ft_lstnew_bonus.c \
ft_lstadd_front_bonus.c \
ft_lstsize_bonus.c \
ft_lstlast_bonus.c \
ft_lstadd_back_bonus.c \
ft_lstdelone_bonus.c \
ft_lstclear_bonus.c \
ft_lstiter_bonus.c \
ft_lstmap_bonus.c
OBJ = $(SRC:.c=.o)
@@ -62,15 +62,13 @@ BONUS_OBJ = $(BONUS_SRC:.c=.o)
all: $(NAME)
bonus: $(OBJ) $(BONUS_OBJ)
bonus: $(BONUS_OBJ)
$(AR) $(ARFLAGS) $(NAME) $(OBJ) $(BONUS_OBJ)
ranlib $(NAME)
$(NAME): $(OBJ)
$(NAME): $(OBJ) $(HEADER)
$(AR) $(ARFLAGS) $(NAME) $(OBJ)
ranlib $(NAME)
$(OBJ_DIR)/%.o: %.c
%.o: %.c
$(CC) -o $@ -c $< $(CFLAGS) -I$(HEADER)
clean:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.