Rename libftprintf.h to ft_printf.h

This commit is contained in:
gbaconni
2022-04-29 17:50:40 +02:00
parent 2b5b1de944
commit 077123737c
24 changed files with 41 additions and 27 deletions

2
tests/.gitignore vendored
View File

@@ -1 +1,3 @@
pft
printftester
libftprintf

View File

@@ -6,7 +6,7 @@
# By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/04/16 20:12:38 by gbaconni #+# #+# #
# Updated: 2022/04/29 10:00:15 by gbaconni ### ########.fr #
# Updated: 2022/04/29 16:49:32 by gbaconni ### ########.fr #
# #
# **************************************************************************** #
@@ -15,11 +15,14 @@ MACHINE = $(shell uname -m)
all: test
libftprintf.a: libftprintf
@ln -snf ../libftprintf/libftprintf.a libftprintf.a
libftprintf.a:
@ln -snf ../libftprintf/libftprintf/libftprintf.a libftprintf.a
libftprintf:
@make -C ../libftprintf bonus
@ln -snf ../libftprintf/libftprintf libftprintf
bonus:
@make -C ../libftprintf/libftprintf bonus
bonus: test-pft
@@ -45,7 +48,16 @@ test-pft3:
@cd pft && ./test x
@cd pft && ./test X
pft: libftprintf.a
printftester: bonus libftprintf
@test -d ~/goinfre/ || ln -snf /goinfre/$(USER) ~/goinfre
@test -d ~/goinfre/docker/ || install -d ~/goinfre/docker
@test -d ~/goinfre/agent/ || install -d ~/goinfre/agent
@test -d ~/.docker/ || ln -snf ~/goinfre/docker ~/.docker
@test -d ~/Library/Containers || ln -snf ~/goinfre/agent ~/Library/Containers/com.docker.docker
@test -d printftester || git clone https://github.com/Tripouille/printfTester.git printftester
@grep -qF '../libftprintf' Makefile && sed -i '' 's/\(\.\.\)/\1\/libftprintf/' Makefile
pft: bonus libftprintf.a
@test -d pft || git clone https://github.com/gavinfielder/pft.git pft
ifeq ($(KERNEL),Linux)
@which php >/dev/null 2>&1 || sudo apt-get install -qq -y php-cli