refacto(libft): use old
This commit is contained in:
parent
3f7c0ac381
commit
5f52bc4c8f
|
@ -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
|
||||
|
|
4
Makefile
4
Makefile
|
@ -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 \
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 1ab0cdf1acf97db0cb8d90940c96a6f1ccb3a7af
|
1
libft2
1
libft2
|
@ -1 +0,0 @@
|
|||
Subproject commit f4238872bb85d8317f5b4867b45cf81197ba0576
|
Loading…
Reference in New Issue