-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
64 lines (55 loc) · 1.22 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
##
## EPITECH PROJECT, 2019
## Makefile
## File description:
## Makefile
##
LIBSRC = lib/my/my_putchar.c \
lib/my/my_isneg.c \
lib/my/my_put_nbr.c \
lib/my/my_swap.c \
lib/my/my_putstr.c \
lib/my/my_strlen.c \
lib/my/my_getnbr.c \
lib/my/my_sort_int_array.c \
lib/my/my_compute_power_rec.c \
lib/my/my_compute_square_root.c \
lib/my/my_is_prime.c \
lib/my/my_find_prime_sup.c \
lib/my/my_strcpy.c \
lib/my/my_strncpy.c \
lib/my/my_revstr.c \
lib/my/my_strstr.c \
lib/my/my_strcmp.c \
lib/my/my_strncmp.c \
lib/my/my_strupcase.c \
lib/my/my_strlowcase.c \
lib/my/my_strcapitalize.c \
lib/my/my_str_isalpha.c \
lib/my/my_str_isnum.c \
lib/my/my_str_islower.c \
lib/my/my_str_isupper.c \
lib/my/my_str_isprintable.c \
lib/my/my_showstr.c \
lib/my/my_showmem.c \
lib/my/my_strcat.c \
lib/my/my_strncat.c
SRC = src/my_putnbr_base_unsigned.c \
src/my_printf_functions.c \
src/my_putstr_non_printable.c \
src/my_put_adress.c \
src/hashtag_case.c \
my_printf.c
NAME = libmy.a
LIBOBJ = $(LIBSRC:.c=.o)
OBJ = $(SRC:.c=.o)
all: $(NAME)
$(NAME): $(LIBOBJ) $(OBJ)
ar rc $(NAME) $(LIBOBJ) $(OBJ)
clean:
rm -f $(LIBOBJ)
rm -f $(OBJ)
rm -f *~
fclean: clean
rm -f $(NAME)
re: fclean all