From 44d2e1aa1585e07f96bb7c244ed46eb920af203c Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Fri, 15 Mar 2024 13:09:24 +0100 Subject: [PATCH] Remove libft --- .gitmodules | 3 --- Makefile | 12 ++---------- libft | 1 - 3 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 .gitmodules delete mode 160000 libft diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 92a2a10..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "libft"] - path = libft - url = git@github.com:dpu-kaiser/libft.git diff --git a/Makefile b/Makefile index bb1667f..92547e1 100644 --- a/Makefile +++ b/Makefile @@ -5,25 +5,17 @@ CFLAGS = -Wall -Wextra -Werror SRC_FILES = src/ft_printf.c src/ft_printnbr.c src/ft_printhex.c src/ft_printaddr.c OBJ_FILES = $(SRC_FILES:.c=.o) -LIBFT = libft/libft.a - all: $(NAME) -$(NAME): libft $(OBJ_FILES) - cp $(LIBFT) $(NAME) +$(NAME): $(OBJ_FILES) ar rcs $(NAME) $(OBJ_FILES) -libft: - make -C libft - clean: rm -f $(OBJ_FILES) - make -C libft clean fclean: clean rm -f $(NAME) - make -C libft fclean re: fclean all -.PHONY: all clean fclean re libft +.PHONY: all clean fclean re diff --git a/libft b/libft deleted file mode 160000 index 71eea3d..0000000 --- a/libft +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 71eea3dbef2110114eb6f648e9ffdfb079884678 -- 2.47.2