From e1c5c22419863e718f8a7e4ea8f03a5fcdb0915f Mon Sep 17 00:00:00 2001 From: tomoron Date: Mon, 3 Feb 2025 21:12:05 +0100 Subject: [PATCH] add .gitignore and add a flags rule to makefile to create compile_flags.txt --- .gitignore | 5 +++++ Makefile | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c2a0ef9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +.vscode +.objs +RT +compile_flags.txt +imgui.ini diff --git a/Makefile b/Makefile index 4193dae..7635c57 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,8 @@ $(NAME): $(OBJS) $(HEADERS) @printf "$(LINE_CLR)$(WHITE) $(NAME): PROJECT COMPILED !$(RESET)\n\n" endif - +flags: + echo $(CFLAGS) $(IFLAGS) | tr " " "\n" > compile_flags.txt $(OBJS_DIR)/%.o: %.cpp @$(DIR_DUP)