sync
This commit is contained in:
BIN
C_09/git/ex00/ft_putchar.o
Normal file
BIN
C_09/git/ex00/ft_putchar.o
Normal file
Binary file not shown.
BIN
C_09/git/ex00/ft_putstr.o
Normal file
BIN
C_09/git/ex00/ft_putstr.o
Normal file
Binary file not shown.
BIN
C_09/git/ex00/ft_strcmp.o
Normal file
BIN
C_09/git/ex00/ft_strcmp.o
Normal file
Binary file not shown.
BIN
C_09/git/ex00/ft_strlen.o
Normal file
BIN
C_09/git/ex00/ft_strlen.o
Normal file
Binary file not shown.
BIN
C_09/git/ex00/ft_swap.o
Normal file
BIN
C_09/git/ex00/ft_swap.o
Normal file
Binary file not shown.
BIN
C_09/git/ex00/libft.a
Normal file
BIN
C_09/git/ex00/libft.a
Normal file
Binary file not shown.
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user