refacto(libft): use old

This commit is contained in:
gbrochar 2024-03-15 15:53:54 +01:00
parent 3f7c0ac381
commit 5f52bc4c8f
4 changed files with 6 additions and 6 deletions

6
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "libft2"]
path = libft2
url = https://git.gaetanbrochard.dev/gbrochar/libft2.git
[submodule "libft"]
path = libft
url = https://git.gaetanbrochard.dev/gbrochar/libft.git

View File

@ -18,7 +18,7 @@ CC = gcc
CFLAGS = -Wall -Werror -Wextra
LIB_NAME = libft2
LIB_NAME = libft
RED = \033[31m
GREEN = \033[32m
@ -38,7 +38,7 @@ $(NAME): create_libft $(OBJ) $(INC)
create_libft:
@git submodule update --init
@make -C $(LIB_NAME)
@cp $(LIB_NAME)/inc/libft.h inc/libft.h
@cp $(LIB_NAME)/libft.h inc/libft.h
$(OBJ_DIR)%.o: $(SRC_DIR)%.c
@if [ ! -d ./obj ]; then \

1
libft Submodule

@ -0,0 +1 @@
Subproject commit 1ab0cdf1acf97db0cb8d90940c96a6f1ccb3a7af

1
libft2

@ -1 +0,0 @@
Subproject commit f4238872bb85d8317f5b4867b45cf81197ba0576