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.
21 lines
259 B
21 lines
259 B
NAME = megaphone
|
|
SRC = main.cpp
|
|
OBJ = main.o
|
|
|
|
CXXFLAGS = -std=c++98 -Wall -Werror -Wextra
|
|
RM = rm -rf
|
|
|
|
$(NAME): $(OBJ)
|
|
c++ $(OBJ) -o $(NAME)
|
|
|
|
all: $(NAME)
|
|
|
|
clean:
|
|
$(RM) $(OBJ)
|
|
|
|
fclean: clean
|
|
$(RM) $(NAME)
|
|
|
|
re: fclean all
|
|
|
|
.PHONY: all clean fclean re
|
|
|