-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
52 lines (40 loc) · 823 Bytes
/
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
##
## EPITECH PROJECT, 2020
## rrostring
## File description:
## makefile
##
NAME = matchstick
CC = gcc
RM = rm -f
SRCS = ./src/main.c \
./src/my/my_putstr.c \
./src/my/my_atoi.c \
./src/my/my_str_isnum.c \
./src/game_loop.c \
./src/matchstick.c \
./src/pyramid.c \
./src/my/modify_Str.c \
./src/my/my_put_nbr.c \
./src/my/my_putchar.c \
./src/my/my_strdup.c \
./src/ai_move.c \
./src/check_end.c \
./src/count_stick.c \
./src/modify_Map.c \
./src/middle.c \
./src/player_move.c \
./src/select_line.c \
./src/my/my_printf.c
OBJS = $(SRCS:.c=.o)
CFLAGS = -I ./include/
CFLAGS += -Wall -Wextra
all: $(NAME)
$(NAME): $(OBJS)
$(CC) $(OBJS) -o $(NAME) $(LDFLAGS)
clean:
$(RM) $(OBJS)
fclean: clean
$(RM) $(NAME)
re: fclean all
.PHONY: all clean fclean re