Makefile 317 B

123456789101112131415161718192021222324252627
  1. OUTPUT= cd
  2. SRC= main.cpp \
  3. appContext.cpp \
  4. history.cpp \
  5. exception.cpp
  6. OBJ= $(SRC:.cpp=.o)
  7. CXXFLAGS= -std=c++17 -g3 -W -Wall -Wextra
  8. $(OUTPUT): all
  9. all: $(OBJ)
  10. $(CXX) $(OBJ) -o $(OUTPUT) $(LDDFLAGS)
  11. fclean: clean
  12. $(RM) $(OUTPUT)
  13. clean:
  14. $(RM) $(OBJ)
  15. re: fclean all
  16. .PHONY: all fclean clean all