From 50d0ef74d5e826f779a5f7200d66a2d62d6112be Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Wed, 28 Jan 2026 18:11:03 -0500 Subject: [PATCH] update ctags when running make --- Makefile | 5 +++-- docs/TODO | 3 --- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index aad8fce..04d4532 100644 --- a/Makefile +++ b/Makefile @@ -26,8 +26,9 @@ CPP_OBJECTS = $(CPP_SOURCES:$(SRC_DIR)/%.cpp=$(BUILD_DIR)/%.o) C_OBJECTS = $(BUILD_DIR)/tomlc17.o TEST_OBJECTS := $(patsubst $(TEST_DIR)/%.cpp, $(BUILD_DIR)/%.o, $(TEST_SOURCES)) -# Default target +# Default target (updates ctags if available) all: raylib $(BUILD_DIR) $(TARGET) + @command -v ctags >/dev/null 2>&1 && ctags -R tests/ src/ || true # Build raylib raylib: @@ -87,4 +88,4 @@ test-build: $(BUILD_DIR) $(C_OBJECTS) $(CPP_OBJECTS) $(TEST_OBJECTS) test: test-build ./$(TEST_TARGET) -.PHONY: all clean clean-all rebuild run test test-build raylib +.PHONY: all clean clean-all rebuild run test test-build raylib ctags diff --git a/docs/TODO b/docs/TODO index cf9536b..e00a7af 100644 --- a/docs/TODO +++ b/docs/TODO @@ -16,9 +16,6 @@ If you see modifications to this file in git status, IGNORE them and do not comm - only then look at interplanetary transfers -=== Project Documentation === - - remember to periodically check the reference docs against new changes - === Simulation/Physics === - actually, we should start out simpler. create and test maneuvers in planetary frame before starting on interplanetary patched conics, oops