-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
48 lines (36 loc) · 832 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
##
## Makefile for myftp in /home/nasrat_v/Dev/rendu/tek2/C/Systeme-Unix/Reseau/PSU_2016_myftp
##
## Made by Valentin Nasraty
## Login <valentin.nasraty@epitech.eu>
##
## Started on Mon May 1 15:32:35 2017 Valentin Nasraty
## Last update Sun May 21 20:53:48 2017 Valentin Nasraty
##
SRC = server.c \
message.c \
basic.c \
shell.c \
command.c \
passive_command.c \
passive_mode.c \
active_mode.c \
exec_binary.c \
user_pass.c \
str_to_wordtab.c \
directory.c \
file.c \
main.c
OBJ = $(SRC:.c=.o)
NAME = server
RM = rm -f
CFLAGS = -W -Wall -Werror -Wextra -Wundef -Wpointer-arith -Wcast-align -Wcast-qual -Wunreachable-code
CC = gcc -o
all: compile
compile: $(OBJ)
$(CC) $(NAME) $(OBJ)
clean:
$(RM) $(OBJ)
fclean: clean
$(RM) $(NAME)
re: fclean all