-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
executable file
·44 lines (31 loc) · 1.28 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: ysoroko <ysoroko@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/11/28 19:44:45 by ysoroko #+# #+# #
# Updated: 2021/01/18 12:37:32 by ysoroko ### ########.fr #
# #
# **************************************************************************** #
CC = gcc
CFLAGS = -Wall -Wextra -Werror
SRC = ../*.c \
ft_compare_results.c \
ft_mem_count.c \
ft_my_split.c \
ft_print.c \
ft_run_test.c \
main.c \
AND = &&
LAUNCH = ./a.out
all: run
run:
$(CC) $(FLAGS) $(SRC) $(AND) $(LAUNCH)
log: a.out
$(LAUNCH)
clean:
rm a.out
re: clean run
.PHONY: all clean log run