c-md/sources.mk
lohhiiccc 80f7a1b9b6 feat(build): add build instructions in README and convert sources to .c.md format
- Add detailed build and bootstrap instructions to README.md.
 - Convert all source and header files from .c/.h to .c.md/.h.md.
 - Add bootstrap.sh script for automated building across version history.
 - Update Makefile and sources.mk to reflect new markdown-based source organization.
2026-01-12 14:54:49 +01:00

45 lines
1.6 KiB
Makefile

SRC_DIR = srcs
MD_SRCS = $(SRC_DIR)/main.c.md \
$(SRC_DIR)/io/streams.c.md \
$(SRC_DIR)/utils/io/read_line.c.md \
$(SRC_DIR)/utils/string/starts_with.c.md \
$(SRC_DIR)/utils/string/extract_fence_ext.c.md \
$(SRC_DIR)/utils/string/extract_file_ext.c.md \
$(SRC_DIR)/utils/string/infer_ext_from_filename.c.md \
$(SRC_DIR)/transpile/state.c.md \
$(SRC_DIR)/transpile/fence.c.md \
$(SRC_DIR)/transpile/code.c.md \
$(SRC_DIR)/transpile/core.c.md \
$(SRC_DIR)/map/core.c.md \
$(SRC_DIR)/map/io.c.md \
$(SRC_DIR)/cli/cli.c.md \
$(SRC_DIR)/cli/help.c.md \
$(SRC_DIR)/validator/validator.c.md
INC_DIR = includes
MD_HDRS = $(INC_DIR)/cli.h.md \
$(INC_DIR)/io.h.md \
$(INC_DIR)/map.h.md \
$(INC_DIR)/transpile.h.md \
$(INC_DIR)/utils.h.md \
$(INC_DIR)/validator.h.md \
$(INC_DIR)/internal/map_internal.h.md \
$(INC_DIR)/internal/transpile_internal.h.md
TESTS_DIR = tests
TESTS = $(TESTS_DIR)/test_integration.c \
$(TESTS_DIR)/io/test_streams.c \
$(TESTS_DIR)/utils/io/test_read_line.c \
$(TESTS_DIR)/utils/string/test_starts_with.c \
$(TESTS_DIR)/utils/string/test_extract_fence_ext.c \
$(TESTS_DIR)/utils/string/test_extract_file_ext.c \
$(TESTS_DIR)/utils/string/test_infer_ext_from_filename.c \
$(TESTS_DIR)/cli/test_cli.c \
$(TESTS_DIR)/cli/test_help.c \
$(TESTS_DIR)/map/test_map_core.c \
$(TESTS_DIR)/map/test_map_io.c \
$(TESTS_DIR)/transpile/test_transpile_core.c \
$(TESTS_DIR)/transpile/test_transpile_fence.c \
$(TESTS_DIR)/transpile/test_transpile_state.c \
$(TESTS_DIR)/transpile/test_transpile_code.c