add README.md: provide documentation for dynamic array library

This commit is contained in:
2026-03-27 15:53:17 -03:00
parent 857205fe45
commit 809d2f4764
2 changed files with 205 additions and 1 deletions

View File

@@ -1,11 +1,16 @@
.PHONY: configure build clean test install
# Lib
LIB_NAME := dynamic_array
# Build directory
BUILD_DIR := build
# Default target
.DEFAULT_GOAL := help
INSTALL_PREFIX ?= ~/.local/bin/$(LIB_NAME)
# Help target
help:
@@ -35,5 +40,5 @@ test: build
# Install: Install the library
install: build
cd $(BUILD_DIR) && cmake --install .
cd $(BUILD_DIR) && cmake --install . --prefix $(INSTALL_PREFIX)