-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (32 loc) · 1.28 KB
/
Makefile
File metadata and controls
35 lines (32 loc) · 1.28 KB
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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: fpalumbo <fpalumbo@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/05/23 12:50:22 by jfazi #+# #+# #
# Updated: 2024/09/05 15:39:04 by fpalumbo ### ########.fr #
# #
# **************************************************************************** #
NAME = webserv
CC = c++
CFLAGS = -Wall -Wextra -Werror -std=c++98 -g3 #-fsanitize=address,undefined
SRCS = main.cpp \
Parsconfig.cpp \
Server.cpp \
Request.cpp \
Response.cpp \
utils.cpp \
CGI.cpp \
OBJS = $(SRCS:.cpp=.o)
all : $(NAME)
$(NAME) :
$(CC) $(CFLAGS) -c $(SRCS)
$(CC) $(CFLAGS) $(OBJS) -o $(NAME)
re : fclean all
clean :
rm -f $(OBJS)
fclean : clean
rm -f $(NAME)
.PHONY: all clean fclean re