0
0
This commit is contained in:
Guy Baconniere
2021-08-26 12:00:00 +02:00
parent 5bc1009a3d
commit b2a5ed52a5
41 changed files with 657 additions and 60 deletions

BIN
C_09/git/ex00/ft_putchar.o Normal file

Binary file not shown.

BIN
C_09/git/ex00/ft_putstr.o Normal file

Binary file not shown.

BIN
C_09/git/ex00/ft_strcmp.o Normal file

Binary file not shown.

BIN
C_09/git/ex00/ft_strlen.o Normal file

Binary file not shown.

BIN
C_09/git/ex00/ft_swap.o Normal file

Binary file not shown.

BIN
C_09/git/ex00/libft.a Normal file

Binary file not shown.

View File

@@ -1,6 +1,4 @@
#!/bin/sh
rm -f *.o libft.a
gcc -Wall -Wextra -Werror -c *.c
ar -cq libft.a *.o
#ar -t libft.a
#rm -f *.o
gcc -Wall -Wextra -Werror -c ft_putchar.c ft_swap.c ft_putstr.c ft_strlen.c ft_strcmp.c
ar -rcs libft.a ft_putchar.o ft_swap.o ft_putstr.o ft_strlen.o ft_strcmp.o

View File

@@ -8,7 +8,9 @@ echo
sh libft_creator.sh
rm -f *.o
echo
echo $(basename $PWD):
gcc -Wall -Wextra -Werror -o a.out -L. -lft main.c
ar -t libft.a
echo
echo $(basename $PWD):
./a.out "$@"
rm -f a.out