mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
fix(libft): in case of tests, build with -fsanitize as well
This commit is contained in:
parent
9e9bd1043b
commit
35ffa6f3a0
2 changed files with 6 additions and 2 deletions
|
|
@ -2,7 +2,9 @@ LIBDIR = ./libft/
|
|||
CC = cc
|
||||
AR = ar
|
||||
ARFLAGS = rcs
|
||||
ifeq ($(CFLAGS),)
|
||||
CFLAGS = -Wall -Wextra -Werror -g
|
||||
endif
|
||||
NAME = libft.a
|
||||
SOURCES = get_next_line.c \
|
||||
ft_printf_atoi.c\
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
CC = cc
|
||||
AR = ar
|
||||
ARFLAGS = rcs
|
||||
CFLAGS = -Wall -Wextra -Werror
|
||||
ifeq ($(CFLAGS),)
|
||||
CFLAGS = -Wall -Wextra -Werror -g
|
||||
endif
|
||||
NAME = libft.a
|
||||
SOURCES = ft_atoi.c ft_itoa.c ft_putendl_fd.c ft_strlcat.c ft_substr.c \
|
||||
ft_bzero.c ft_putnbr_fd.c ft_strlcpy.c ft_tolower.c ft_calloc.c \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue