From 87bce91050b56915dcf5964f6f66d5f47299e7f3 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 29 Oct 2019 01:57:41 +0100 Subject: Reworking, binary flags, extract advance - Binary flags attribute instead of multiple bool - Extract doesnst strdup fmt each time, just advance the current pointer - In parsing push front then reverse - Moved some functions to libf --- Makefile | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bc3e13c..43cbdfd 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,19 @@ +# **************************************************************************** # +# # +# ::: :::::::: # +# Makefile :+: :+: :+: # +# +:+ +:+ +:+ # +# By: cacharle +#+ +:+ +#+ # +# +#+#+#+#+#+ +#+ # +# Created: 2019/10/28 17:41:14 by cacharle #+# #+# # +# Updated: 2019/10/29 02:01:51 by cacharle ### ########.fr # +# # +# **************************************************************************** # + LIBFT_ROOT = ./libft CC = gcc -CCFLAGS = -Wall -Wextra -Werror +CCFLAGS = -Wall -Wextra -g #-Werror LDFLAGS = -L. -lftprintf INCFLAGS = -I$(LIBFT_ROOT) @@ -14,6 +26,7 @@ SRC = ft_printf.c utils.c printer.c parse.c list.c extract.c OBJ = $(SRC:.c=.o) INCLUDE = header.h + all: libft_all $(NAME) $(NAME): $(OBJ) @@ -34,7 +47,7 @@ fclean: libft_fclean clean re: fclean all test: all - $(CC) $(CCFLAGS) $(LDFLAGS) $(INCFLAGS) -o test main.c + $(CC) $(CCFLAGS) $(LDFLAGS) -L./libft -lft $(INCFLAGS) -o test main.c libft_all: -- cgit