From: Lukas Jiriste Date: Thu, 28 Nov 2024 10:32:54 +0000 (+0100) Subject: Align slashes in Makefile X-Git-Url: https://git.ljiriste.work/?a=commitdiff_plain;h=refs%2Fheads%2Fparsing_table_constructor;p=Libft.git Align slashes in Makefile I really should use spaces instead of tabs for alignment... --- diff --git a/Makefile b/Makefile index 4cd10a9..83286a7 100644 --- a/Makefile +++ b/Makefile @@ -9,25 +9,25 @@ INCLUDE := $(addprefix -I, $(INCDIR)) SRCDIR := ft_gen ft_math ft_str ft_mem ft_io ft_check ft_conv ft_lst ft_arr ft_parse ft_struct -SRCstruct:= ft_stack_free.c \ - ft_stack_init.c \ - ft_stack_pop.c \ - ft_stack_pop_forget.c \ - ft_stack_push.c \ - ft_stack_top.c \ - -SRCparse:= ft_parse.c \ - ft_parsing_table_init.c \ - ft_parsing_table_load.c \ - ft_parsing_table_print.c \ - ft_parsing_table_save.c \ - ft_parsing_table_free.c \ - ft_parse_tree_print.c \ - ft_parse_tree_free.c \ - load_rules.c \ - add_line.c \ - actions.c \ - helpers.c \ +SRCstruct:= ft_stack_free.c \ + ft_stack_init.c \ + ft_stack_pop.c \ + ft_stack_pop_forget.c \ + ft_stack_push.c \ + ft_stack_top.c \ + +SRCparse:= ft_parse.c \ + ft_parsing_table_init.c \ + ft_parsing_table_load.c \ + ft_parsing_table_print.c \ + ft_parsing_table_save.c \ + ft_parsing_table_free.c \ + ft_parse_tree_print.c \ + ft_parse_tree_free.c \ + load_rules.c \ + add_line.c \ + actions.c \ + helpers.c \ parsing_table_constructor/categorize_tokens.c \ parsing_table_constructor/categorize_helpers.c \ parsing_table_constructor/conversion_to_table.c \ @@ -46,118 +46,118 @@ SRCparse:= ft_parse.c \ parsing_table_constructor/ft_parsing_table_generate.c \ -SRCgen := ft_swap.c \ - -SRCmath := ft_abs.c \ - ft_sgn.c \ - ft_max.c \ - ft_min.c \ - -SRCstr := ft_strcat_alloc.c \ - ft_strncat_alloc.c \ - ft_strcmp.c \ - ft_strncmp.c \ - ft_strndup.c \ - ft_strchr.c \ - ft_strtrim.c \ - ft_strlen.c \ - ft_strdup.c \ - ft_strlcpy.c \ - ft_strnstr.c \ - ft_striteri.c \ - ft_strmapi.c \ - ft_strjoin.c \ - ft_remove_space.c \ - ft_split.c \ - ft_substr.c \ - ft_strlcat.c \ - ft_strrchr.c \ - -SRCmem := ft_calloc.c \ - ft_memchr.c \ - ft_memcmp.c \ - ft_memset.c \ - ft_memmove.c \ - ft_memcpy.c \ - ft_bzero.c \ - -SRCio := ft_putendl_fd.c \ - ft_putnbr_fd.c \ - ft_printf/conversion.c \ - ft_printf/ft_printf.c \ - ft_printf/padding.c \ - ft_printf/parsing.c \ - ft_printf/formatting.c \ - ft_putchar_fd.c \ - get_next_line.c \ - ft_putstr_fd.c \ - -SRCcheck:= ft_isalnum.c \ - ft_isspace.c \ - ft_isdigit.c \ - ft_isascii.c \ - ft_isalpha.c \ - ft_islower.c \ - ft_isupper.c \ - ft_isprint.c \ - ft_isint.c \ - -SRCconv := ft_itoa_base.c \ - ft_tolower.c \ - ft_toupper.c \ - ft_atoi.c \ - ft_ctoa.c \ - ft_itoa.c \ - ft_uitoa_base.c \ - -SRClst := ft_lst_reverse.c \ - ft_lstdelone.c \ - ft_lst_foreach_if.c \ - ft_lstlast.c \ - ft_lstclear.c \ - ft_lst_at.c \ - ft_lst_sorted_merge.c \ - ft_lst_find.c \ - ft_lstmap.c \ - ft_lst_remove_if.c \ - ft_lstnew.c \ - ft_lst_merge.c \ - ft_lstsize.c \ - ft_lstadd_front.c \ - ft_lstadd_back.c \ - ft_lstiter.c \ - ft_lst_sort.c \ - ft_lst_sorted_insert.c \ - -SRCarr := ft_vec_init.c \ - ft_vec_reserve.c \ - ft_vec_enlarge.c \ - ft_vec_insert.c \ - ft_vec_append.c \ - ft_vec_forget.c \ - ft_vec_erase.c \ - ft_vec_access.c \ - ft_vec_free.c \ - ft_vec_find.c \ - ft_vec_find_index.c \ - ft_vec_copy.c \ - \ - ft_vec_is_equal.c \ - \ - ft_vec_contains.c \ - ft_vec_is_subset.c \ - ft_vec_is_setequal.c \ - \ - ft_vec_setinsert.c \ - \ - ft_mat_init.c \ - ft_mat_append.c \ - ft_mat_insert_col.c \ - ft_mat_insert_row.c \ - ft_mat_zeros.c \ - ft_mat_fill.c \ - ft_mat_access.c \ - ft_mat_free.c \ +SRCgen := ft_swap.c \ + +SRCmath := ft_abs.c \ + ft_sgn.c \ + ft_max.c \ + ft_min.c \ + +SRCstr := ft_strcat_alloc.c \ + ft_strncat_alloc.c \ + ft_strcmp.c \ + ft_strncmp.c \ + ft_strndup.c \ + ft_strchr.c \ + ft_strtrim.c \ + ft_strlen.c \ + ft_strdup.c \ + ft_strlcpy.c \ + ft_strnstr.c \ + ft_striteri.c \ + ft_strmapi.c \ + ft_strjoin.c \ + ft_remove_space.c \ + ft_split.c \ + ft_substr.c \ + ft_strlcat.c \ + ft_strrchr.c \ + +SRCmem := ft_calloc.c \ + ft_memchr.c \ + ft_memcmp.c \ + ft_memset.c \ + ft_memmove.c \ + ft_memcpy.c \ + ft_bzero.c \ + +SRCio := ft_putendl_fd.c \ + ft_putnbr_fd.c \ + ft_printf/conversion.c \ + ft_printf/ft_printf.c \ + ft_printf/padding.c \ + ft_printf/parsing.c \ + ft_printf/formatting.c \ + ft_putchar_fd.c \ + get_next_line.c \ + ft_putstr_fd.c \ + +SRCcheck:= ft_isalnum.c \ + ft_isspace.c \ + ft_isdigit.c \ + ft_isascii.c \ + ft_isalpha.c \ + ft_islower.c \ + ft_isupper.c \ + ft_isprint.c \ + ft_isint.c \ + +SRCconv := ft_itoa_base.c \ + ft_tolower.c \ + ft_toupper.c \ + ft_atoi.c \ + ft_ctoa.c \ + ft_itoa.c \ + ft_uitoa_base.c \ + +SRClst := ft_lst_reverse.c \ + ft_lstdelone.c \ + ft_lst_foreach_if.c \ + ft_lstlast.c \ + ft_lstclear.c \ + ft_lst_at.c \ + ft_lst_sorted_merge.c \ + ft_lst_find.c \ + ft_lstmap.c \ + ft_lst_remove_if.c \ + ft_lstnew.c \ + ft_lst_merge.c \ + ft_lstsize.c \ + ft_lstadd_front.c \ + ft_lstadd_back.c \ + ft_lstiter.c \ + ft_lst_sort.c \ + ft_lst_sorted_insert.c \ + +SRCarr := ft_vec_init.c \ + ft_vec_reserve.c \ + ft_vec_enlarge.c \ + ft_vec_insert.c \ + ft_vec_append.c \ + ft_vec_forget.c \ + ft_vec_erase.c \ + ft_vec_access.c \ + ft_vec_free.c \ + ft_vec_find.c \ + ft_vec_find_index.c \ + ft_vec_copy.c \ + \ + ft_vec_is_equal.c \ + \ + ft_vec_contains.c \ + ft_vec_is_subset.c \ + ft_vec_is_setequal.c \ + \ + ft_vec_setinsert.c \ + \ + ft_mat_init.c \ + ft_mat_append.c \ + ft_mat_insert_col.c \ + ft_mat_insert_row.c \ + ft_mat_zeros.c \ + ft_mat_fill.c \ + ft_mat_access.c \ + ft_mat_free.c \ SOURCES := $(foreach dir, $(SRCDIR), $(addprefix $(dir)/, $($(dir:ft_%=SRC%)))) OBJECTS := $(SOURCES:.c=.o)