-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
58 lines (50 loc) · 1.79 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# **************************************************************************** #
# #
# :::::::: #
# Makefile :+: :+: #
# +:+ #
# By: tessaclement <[email protected] +#+ #
# +#+ #
# Created: 2022/08/24 08:42:23 by tessaclemen #+# #+# #
# Updated: 2022/08/24 15:07:15 by tessaclemen ######## odam.nl #
# #
# **************************************************************************** #
CXX = c++
VERBOSE = 1
CXXFLAGS = -Wall -Wextra -Werror -std=c++98 -D VERBOSE=$(VERBOSE)
NAME = ircserv
SRC = srcs/main.cpp \
srcs/Server.cpp \
srcs/Client.cpp \
srcs/Command.cpp \
srcs/Channel.cpp \
srcs/commands/pass.cpp \
srcs/commands/nick.cpp \
srcs/commands/user.cpp \
srcs/commands/quit.cpp \
srcs/commands/oper.cpp \
srcs/commands/mode.cpp \
srcs/commands/join.cpp \
srcs/commands/part.cpp \
srcs/commands/ping.cpp \
srcs/commands/kill.cpp \
srcs/commands/privmsg.cpp \
srcs/commands/away.cpp \
srcs/commands/notice.cpp \
srcs/commands/invite.cpp \
srcs/commands/topic.cpp \
srcs/commands/names.cpp \
srcs/commands/list.cpp \
srcs/commands/kick.cpp \
srcs/commands/whois.cpp \
srcs/commands/who.cpp \
OBJ = $(SRC:.cpp=.o)
all : $(NAME)
$(NAME) : $(OBJ)
$(CXX) $(CXXFLAGS) $^ -o $@
clean :
@rm -rf $(OBJ)
fclean : clean
@rm -rf $(NAME)
re : fclean all
.PHONY : all clean fclean re