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.
23 lines
299 B
23 lines
299 B
NAME= server
|
|
SRCS= srcs/server.cpp srcs/tools.cpp srcs/read_conf.cpp
|
|
OBJS= $(SRCS:.cpp=.o)
|
|
CXX=c++
|
|
CXXFLAGS= -Wextra -Wall -std=c++98
|
|
|
|
|
|
all : $(NAME)
|
|
|
|
$(NAME): $(OBJS)
|
|
$(CXX) $(OBJS) -o $(NAME)
|
|
|
|
clean:
|
|
rm -rf $(OBJS)
|
|
|
|
fclean: clean
|
|
rm -rf $(NAME)
|
|
|
|
re: fclean all
|
|
|
|
.PHONY: all clean fclean re
|
|
|
|
|
|
|