intrat to gitea

This commit is contained in:
root
2025-11-15 22:13:00 +00:00
commit 025e205b80
8 changed files with 344 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
NAME = PhoneBook
SRCS = main.cpp PhoneBook.cpp Contact.cpp
CC = clang++
CFLAGS = -Wall -Wextra -Werror -std=c++98
RM = rm -f
OBJS = $(SRCS:.cpp=.o)
%.o: %.cpp
@$(CC) $(CFLAGS) -c $< -o $@
all: $(NAME)
$(NAME): $(OBJS)
@$(CC) $(CFLAGS) $^ -o $(NAME)
@echo '$(NAME) compiled!'
fclean: clean
@$(RM) $(NAME)
clean:
@$(RM) $(OBJS)
re: fclean all
.PHONY: all clean fclean re