Guest User

Untitled

a guest
Feb 18th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. SRC = Agenda.cpp \
  2. Task.cpp \
  3. CmdExecutor.cpp \
  4. main.cpp
  5.  
  6. OBJ = $(SRC:.cpp=.o)
  7.  
  8. NAME = agenda
  9.  
  10. RM = rm -f
  11.  
  12. CFLAGS += -W -Wall -Wextra -pedantic -Werror -std=14
  13.  
  14. CC = g++
  15.  
  16. all: $(NAME)
  17.  
  18. $(NAME): $(OBJ)
  19. $(CC) $(OBJ) -o $(NAME)
  20.  
  21. clean:
  22. $(RM) $(OBJ)
  23.  
  24. fclean: clean
  25. $(RM) $(NAME)
  26.  
  27. re: fclean all
  28.  
  29. .PHONY: all clean fclean re
Add Comment
Please, Sign In to add comment