diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-10-15 14:15:25 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-10-15 15:01:35 +0200 |
| commit | bebdb6929703ebdf9d3f65f19fd29780ac39cab3 (patch) | |
| tree | 158ced4ccae46cd537ec22e57cb361e1d3e1ebf5 /Makefile | |
| parent | f23592ea0c122a0da2723d4253c47ca227529f79 (diff) | |
| download | libft-bebdb6929703ebdf9d3f65f19fd29780ac39cab3.tar.gz libft-bebdb6929703ebdf9d3f65f19fd29780ac39cab3.tar.bz2 libft-bebdb6929703ebdf9d3f65f19fd29780ac39cab3.zip | |
Removed libft_bonus.h
bonus rule in Makefile remove guard close in libft.h
to declare t_list struct and ft_lst* prototypes.
Fixed ft_lstclear with recursion.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,7 +6,7 @@ # By: cacharle <marvin@42.fr> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2019/10/08 15:45:53 by cacharle #+# #+# # -# Updated: 2019/10/09 15:48:10 by cacharle ### ########.fr # +# Updated: 2019/10/15 14:02:08 by cacharle ### ########.fr # # # # **************************************************************************** # @@ -33,14 +33,14 @@ BONUSSRC = ft_lstadd_back_bonus.c ft_lstadd_front_bonus.c ft_lstclear_bonus.c \ ft_lstdelone_bonus.c ft_lstiter_bonus.c ft_lstlast_bonus.c \ ft_lstmap_bonus.c ft_lstnew_bonus.c ft_lstsize_bonus.c BONUSOBJ = $(BONUSSRC:.c=.o) -BONUSINCLUDE = libft_bonus.h all: $(NAME) $(NAME): $(OBJ) $(INCLUDE) $(LIB) $(NAME) $(OBJ) -bonus: $(OBJ) $(BONUSOBJ) $(INCLUDE) $(BONUSINCLUDE) +bonus: CCFLAGS += -D LIBFT_BONUS +bonus: $(OBJ) $(BONUSOBJ) $(INCLUDE) $(LIB) $(NAME) $(OBJ) $(BONUSOBJ) %.o: %.c |
