-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (31 loc) · 671 Bytes
/
Makefile
File metadata and controls
38 lines (31 loc) · 671 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
##
## Makefile for ftl in /Users/vanhem_n/Documents/ftl/Makefile
##
## Made by VANHEMELRYCK nathan
## Login <vanhem_n@etna-alternance.net>
##
## Started on Mon Nov 6- 09:01:00 2017 VANHEMELRYCK nathan
## Last update thu Nov 6- 15:00:00 2017 VANHEMELRYCK nathan
##
CC = gcc
NAME = ftl
#pensez a clean tmain
SRC = main.c \
enemy.c \
ship_act.c \
echo.c \
air_shed.c \
container.c \
system_control.c \
system_repair.c
OBJ = $(SRC:%.c=%.o)
CFLAGS = -W -Wall -Wextra -Werror
RM = rm -f
$(NAME): $(OBJ)
$(CC) $(CFLAGS) $(OBJ) -o $(NAME)
all: $(NAME)
clean:
$(RM) $(OBJ)
fclean: clean
$(RM) $(NAME)
re: fclean all