-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
59 lines (51 loc) · 1.09 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
##
## Makefile for my_ls in /home/chapui_s/rendu/PSU_2013_my_ls
##
## Made by chapui_s
## Login <chapui_s@epitech.net>
##
## Started on Sun Dec 1 00:21:42 2013 chapui_s
## Last update Sun Dec 1 14:31:01 2013 chapui_s
##
SRC = main.c \
ls_arg.c \
ls_cut.c \
ls_dir.c \
ls_files.c \
ls_get_options.c \
ls_list_alpha.c \
ls_list_linked.c \
ls_list_time.c \
ls_print.c \
ls_str.c \
ls_utils.c \
my_ls.c \
my_malloc.c \
ls_perms.c \
my_printf/my_printf.c \
my_printf/calc_size.c \
my_printf/print_int.c \
my_printf/print_str.c \
my_printf/print_large_hexa.c \
my_printf/print_uint.c \
my_printf/check.c \
my_printf/print_all_str.c \
my_printf/print_little_hexa.c \
my_printf/save_chars_written.c \
my_printf/init_struc.c \
my_printf/print_binary.c \
my_printf/print_octal.c \
my_printf/stock_args.c \
my_printf/print_char.c \
my_printf/print_ptr.c \
my_printf/utils.c
NAME = my_ls
OBJ = $(SRC:.c=.o)
all: $(NAME)
$(NAME): $(OBJ)
gcc $(OBJ) -o $(NAME)
clean:
rm -f $(OBJ)
fclean: clean
rm -f $(NAME)
re: fclean all