This commit is contained in:
HexPloR
2024-06-24 00:02:52 +02:00
commit 4dfc0cd7ec
602 changed files with 5341 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
NAME = get_next_line.a
CC = cc
CFLAGS = -Wall -Wextra -Werror
SRC = get_next_line.c get_next_line_utils.c
OBJ = $(SRC:.c=.o)
RM = rm -f
$(NAME): $(OBJ)
@ar rcs $(NAME) $(OBJ)
$(OBJ): $(SRC)
@$(CC) $(CFLAGS) -c $(SRC)
all: $(NAME)
clean:
@$(RM) $(OBJ)
fclean: clean
@$(RM) $(NAME)
re: fclean all
.PHONY : all clean fclean re