Skip to content

Commit 6368b7c

Browse files
author
Biditchoun
committed
first save
1 parent faa08c0 commit 6368b7c

File tree

155 files changed

+5277
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+5277
-0
lines changed

Common tree/Libft/.Makefile.swp

12 KB
Binary file not shown.

Common tree/Libft/Makefile

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# **************************************************************************** #
2+
# #
3+
# ::: :::::::: #
4+
# Makefile :+: :+: :+: #
5+
# +:+ +:+ +:+ #
6+
# By: swijnber <[email protected]> +#+ +:+ +#+ #
7+
# +#+#+#+#+#+ +#+ #
8+
# Created: 2022/04/15 11:15:02 by swijnber #+# #+# #
9+
# Updated: 2022/04/15 15:28:17 by swijnber ### ########.fr #
10+
# #
11+
# **************************************************************************** #
12+
13+
SRCS = ft_isprint.c ft_isdigit.c ft_isascii.c ft_isalpha.c ft_isalnum.c\
14+
ft_strlen.c ft_strncmp.c ft_strlcpy.c ft_strlcat.c ft_strchr.c \
15+
ft_strrchr.c ft_strnstr.c\
16+
ft_toupper.c ft_tolower.c ft_atoi.c ft_itoa.c\
17+
ft_memset.c ft_bzero.c ft_memcpy.c ft_memmove.c ft_memchr.c \
18+
ft_memcmp.c\
19+
ft_strdup.c ft_calloc.c ft_substr.c ft_strjoin.c ft_strtrim.c \
20+
ft_split.c\
21+
ft_strmapi.c ft_striteri.c\
22+
ft_putchar_fd.c ft_putstr_fd.c ft_putendl_fd.c ft_putnbr_fd.c
23+
OBJS = ${SRCS:.c=.o}
24+
NAME = libft.a
25+
CC = gcc
26+
CFLAGS = -Wall -Werror -Wextra
27+
28+
.c.o:
29+
${CC} ${CFLAGS} -c $< -o ${<:.c=.o}
30+
31+
${NAME}: ${OBJS}
32+
${CC} -o ${NAME} ${OBJS}
33+
ar -rcs $@ $^
34+
35+
all: ${NAME}

0 commit comments

Comments
 (0)