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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2 -4
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
+3 -1
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