You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
478 B

2 years ago
NAME= server
SRCS= srcs/webserv.cpp srcs/tools.cpp srcs/load/Env.cpp srcs/load/Server.cpp \
srcs/load/Socket.cpp srcs/load/Route.cpp \
srcs/json/Nodes.cpp srcs/json/Token.cpp srcs/json/Parser.cpp
2 years ago
OBJS= $(SRCS:.cpp=.o)
CXX=c++
CXXFLAGS= -g -I includes -Werror -Wextra -Wall -std=c++98
2 years ago
all : $(NAME)
$(NAME): $(OBJS)
2 years ago
$(CXX) -g -fsanitize=address $(OBJS) -o $(NAME)
2 years ago
clean:
rm -rf $(OBJS)
fclean: clean
rm -rf $(NAME)
re: fclean all
.PHONY: all clean fclean re