-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
46 lines (34 loc) · 707 Bytes
/
Makefile
File metadata and controls
46 lines (34 loc) · 707 Bytes
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
##
## Makefile for Makefile in /home/thibrex/delivery/CPool_Day10/do-op
##
## Made by Thibaut Cornolti
## Login <thibaut.cornolti@epitech.eu>
##
## Started on Sat Oct 15 22:12:03 2016 Thibaut Cornolti
## Last update Wed Dec 14 14:15:16 2016 Thibaut Cornolti
##
SRC = main.c \
load_file.c \
utils.c \
game.c \
move.c \
fct.c \
check.c \
check_game.c \
js.c \
OBJS = $(SRCS:.c=.o)
NAME = my_sokoban
CC = gcc
HEADER = include/
RM = rm -f
LIB_P = -Llib/my
LIB = -lmy -lncurses
all: $(NAME)
$(NAME):
cd lib/my/ && make
$(CC) -o $(NAME) -I$(HEADER) $(SRC) $(LIB_P) $(LIB) -Wall -Wextra -pedantic
clean:
$(RM) $(OBJS)
fclean: clean
$(RM) $(NAME)
re: fclean all