From abe2a2ce4e28a93f6742a5bd354fe1fb5a85c4fe Mon Sep 17 00:00:00 2001 From: Ulysse Cura Date: Mon, 11 Aug 2025 19:51:18 +0200 Subject: [PATCH] Added reading test folder --- .gitignore | 2 ++ .vscode/settings.json | 18 ++++++++++++++++++ .vscode/tasks.json | 38 ++++++++++++++++++++++++++++++++++++++ Makefile | 3 ++- 4 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 .vscode/settings.json create mode 100644 .vscode/tasks.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..73c9290 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +build +2D_Engine_Casio_Tool diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..b789f66 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,18 @@ +{ + "files.associations": { + "complex": "cpp", + "string": "cpp", + "iterator": "cpp", + "string_view": "cpp", + "random": "cpp", + "fstream": "cpp", + "iomanip": "cpp", + "iosfwd": "cpp", + "istream": "cpp", + "ostream": "cpp", + "sstream": "cpp", + "streambuf": "cpp", + "system_error": "cpp", + "stdexcept": "cpp" + } +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..ece755c --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,38 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Build", + "detail": "Build project", + "type": "shell", + "command": "make", + "group": "build", + "presentation": { + "echo": true, + "reveal": "always", + "focus": true, + "panel": "shared", + "showReuseMessage": true, + "clear": true + } + }, + { + "label": "Clean", + "detail": "Clean build directory and executable", + "type": "shell", + "command": "make", + "args": [ + "clean" + ], + "group": "build", + "presentation": { + "echo": true, + "reveal": "never", + "focus": false, + "panel": "shared", + "showReuseMessage": true, + "clear": false + } + } + ] +} \ No newline at end of file diff --git a/Makefile b/Makefile index cabfc1e..76b608e 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ RESET := \033[0m # Total number of files to process TOTAL_FILES := $(shell echo $$(($(words $(SOURCES))+1))) -CURRENT_FILE = 0 +CURRENT_FILE := 0 # Default targets all: $(BUILD_DIR) $(OUTPUT) end @@ -56,6 +56,7 @@ $(BUILD_DIR)/%.o: %.cpp # Source files dependencies -include $(OBJECTS:.o=.d) +# Print ending message end: @echo "Built target $(OUTPUT)"