Browse Source

update ctags when running make

main
cinnaboot 5 months ago
parent
commit
50d0ef74d5
  1. 5
      Makefile
  2. 3
      docs/TODO

5
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

3
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

Loading…
Cancel
Save