Use a variable for git repository
This commit is contained in:
7
Makefile
7
Makefile
@@ -6,7 +6,7 @@
|
||||
# By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2022/01/18 15:11:16 by gbaconni #+# #+# #
|
||||
# Updated: 2022/04/17 11:19:20 by gbaconni ### lausanne.ch #
|
||||
# Updated: 2022/04/17 11:31:01 by gbaconni ### lausanne.ch #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
#
|
||||
@@ -18,6 +18,8 @@
|
||||
# make
|
||||
#
|
||||
|
||||
GIT_REPO = git@vogsphere.42lausanne.ch:vogsphere/intra-uuid-fd8d00fc-8c22-400e-a8d9-dcc364688380-4092952-gbaconni
|
||||
|
||||
NAME = ft_printf
|
||||
|
||||
LIBFTPRINTF = libftprintf
|
||||
@@ -124,8 +126,9 @@ config:
|
||||
@git config branch.autosetuprebase always
|
||||
|
||||
42:
|
||||
@git clone git@vogsphere.42lausanne.ch:vogsphere/intra-uuid-fd8d00fc-8c22-400e-a8d9-dcc364688380-4092952-gbaconni 42 || true
|
||||
@git clone $(GIT_REPO) 42 || true
|
||||
|
||||
21: 42
|
||||
@find libftprintf -maxdepth 2 -type f -name '*.c' -o -name '*.h' -o -name 'Makefile' | sed -r "s|(libftprintf/)|\1./|" | xargs -I {} rsync -SaR {} 42/
|
||||
@make -C 42 sync
|
||||
|
||||
|
||||
Reference in New Issue
Block a user