<commit_before>.DEFAULT_GOAL = nox
DISK_SECTOR_COUNT := $(shell echo $$((32 * 1024)))
PART_SECTOR_COUNT := $(shell echo $$((16 * 1024)))
PART_MKDOSFS_SIZE := $(shell echo $$((($(PART_SECTOR_COUNT) / 2) * 2)))
PART_OFFSET_SECTORS :=2048
PART_OFFSET_BYTES := $(shell echo $$(($(PART_OFFSET_SECTORS) * 512)))

TOOL := i686-elf

# This is the name of the final (complete) disk image
IMAGE_NAME := nox-disk

# Directories
BUILD_DIR := build
CLEAN_DIRS := $(BUILD_DIR)
IMAGE_PATH := $(BUILD_DIR)/$(IMAGE_NAME).img
FS_DIR := $(BUILD_DIR)/fs
FS_FILES :=
TAG_FILES := $(shell find . '(' -name *.c -o -name *.h -o -name *.asm ')')

# Modules are folders that exist in the repo root
IGNORED_DIRS := . ./.git ./$(BUILD_DIR)
_DIRS := $(shell find . -maxdepth 1 -type d)
MODULES := $(notdir $(filter-out $(IGNORED_DIRS),$(_DIRS)))

# Include their make files
include $(patsubst %, %/make.mk, $(MODULES))

nox: directories tags $(IMAGE_PATH) $(MODULES) $(FS_FILES)

$(FS_FILES) : $(FS_DIR)/%: $(BUILD_DIR)/%
	@echo "CP     $(BUILD_DIR)/$(notdir $@) -> $@"
	@cp $(BUILD_DIR)/$(notdir $@) $@
	@echo "MCOPY: $(IMAGE_PATH) ----->  $@ ----> $(shell echo $(notdir $@) | tr a-z A-Z)"

# NOTE: HACK: TODO: WARNING: "1M" After the image name,<commit_msg>Fixed derpy looking output from makefile<commit_after>.DEFAULT_GOAL = nox
DISK_SECTOR_COUNT := $(shell echo $$((32 * 1024)))
PART_SECTOR_COUNT := $(shell echo $$((16 * 1024)))
PART_MKDOSFS_SIZE := $(shell echo $$((($(PART_SECTOR_COUNT) / 2) * 2)))
PART_OFFSET_SECTORS :=2048
PART_OFFSET_BYTES := $(shell echo $$(($(PART_OFFSET_SECTORS) * 512)))

TOOL := i686-elf

# This is the name of the final (complete) disk image
IMAGE_NAME := nox-disk

# Directories
BUILD_DIR := build
CLEAN_DIRS := $(BUILD_DIR)
IMAGE_PATH := $(BUILD_DIR)/$(IMAGE_NAME).img
FS_DIR := $(BUILD_DIR)/fs
FS_FILES :=
TAG_FILES := $(shell find . '(' -name *.c -o -name *.h -o -name *.asm ')')

# Modules are folders that exist in the repo root
IGNORED_DIRS := . ./.git ./$(BUILD_DIR)
_DIRS := $(shell find . -maxdepth 1 -type d)
MODULES := $(notdir $(filter-out $(IGNORED_DIRS),$(_DIRS)))

# Include their make files
include $(patsubst %, %/make.mk, $(MODULES))

nox: directories tags $(IMAGE_PATH) $(MODULES) $(FS_FILES)

$(FS_FILES) : $(FS_DIR)/%: $(BUILD_DIR)/%
	@echo "CP      $(BUILD_DIR)/$(notdir $@) -> $@"
	@cp $(BUILD_DIR)/$(notdir $@) $@
	@echo "MCOPY:  $@ :: $(shell echo $(notdir $@) | tr a-z A-Z)"

# NOTE: HACK: TODO: WARNING: "1M" After the image name,
{'fraction_non_alphanumeric': 0.2086038961038961, 'fraction_numerical': 0.021103896103896104, 'mean_word_length': 4.526905829596412, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '542967', 'n_tokens_mistral': 1010, 'n_tokens_neox': 937, 'n_words': 249}