aboutsummaryrefslogtreecommitdiff
path: root/c09/ex00/libft_creator.sh
diff options
context:
space:
mode:
authorCabergs Charles <cacharle@e-r6-p7.s19.be>2019-07-15 10:20:37 +0200
committerCabergs Charles <cacharle@e-r6-p7.s19.be>2019-07-15 10:20:37 +0200
commit11114fd684250943de56c4f73ab45c97f2aaf83a (patch)
tree32a8f1f84e0b5f3617988932ccc068d471207208 /c09/ex00/libft_creator.sh
parent6bf5dd01493dd6bf644a4896c666535e5eaa8d67 (diff)
downloadpiscine-11114fd684250943de56c4f73ab45c97f2aaf83a.tar.gz
piscine-11114fd684250943de56c4f73ab45c97f2aaf83a.tar.bz2
piscine-11114fd684250943de56c4f73ab45c97f2aaf83a.zip
c08 strdup malloc + 1 for \0, c09 begin
Diffstat (limited to 'c09/ex00/libft_creator.sh')
-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