aboutsummaryrefslogtreecommitdiff
path: root/c09/ex00
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-07-15 10:20:37 +0200
committerCharles <sircharlesaze@gmail.com>2019-07-15 10:20:37 +0200
commit217bcb0d4e3ba60604921cb40d5a11a64f93cfc7 (patch)
tree32a8f1f84e0b5f3617988932ccc068d471207208 /c09/ex00
parent3b9a1d7dcc5683b962f2bf24795e80e1c449cd1f (diff)
downloadpiscine-217bcb0d4e3ba60604921cb40d5a11a64f93cfc7.tar.gz
piscine-217bcb0d4e3ba60604921cb40d5a11a64f93cfc7.tar.bz2
piscine-217bcb0d4e3ba60604921cb40d5a11a64f93cfc7.zip
c08 strdup malloc + 1 for \0, c09 begin
Diffstat (limited to 'c09/ex00')
-rwxr-xr-x[-rw-r--r--]c09/ex00/libft_creator.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/c09/ex00/libft_creator.sh b/c09/ex00/libft_creator.sh
index f799ee2..9c0aefa 100644..100755
--- a/c09/ex00/libft_creator.sh
+++ b/c09/ex00/libft_creator.sh
@@ -1,3 +1,4 @@
#!/bin/sh
-gcc -c *.c
-ar -rcs libft.a *.o
+gcc -c ft_putchar.c ft_swap.c ft_putstr.c ft_strlen.c ft_strcmp.c
+ar -rs libft.a ft_putchar.o ft_swap.o ft_putstr.o ft_strlen.o ft_strcmp.o
+rm -f ft_putchar.o ft_swap.o ft_putstr.o ft_strlen.o ft_strcmp.o