<commit_before>###############################################################################
# Makefile
#  by <NAME>
#
# A makefile script for generation of a brainslug module
###############################################################################
# Hopefully you shouldn't need to change anything in this file.
# Alter makefile.mk to change common settings.

###############################################################################
# devkitpro settings
ifeq ($(strip $(DEVKITPRO)),)
  $(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro")
endif
ifeq ($(strip $(DEVKITPPC)),)
  $(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPPC")
endif

BSLUGDIR := $(DEVKITPRO)/bslug

PATH := $(DEVKITPPC)/bin:$(PATH)
LIB_INC_DIRS := $(DEVKITPPC)/lib/gcc/powerpc-eabi/4.6.3/include \
                $(DEVKITPPC)/lib/gcc/powerpc-eabi/4.6.3/include-fixed \
                $(BSLUGDIR)/include

include makefile.mk

###############################################################################
# Parameters

# A comma to make writing commands easier
C := ,
# Used to suppress command echo.
Q      ?= @
LOG    ?= @echo $@
# The intermediate directory for compiled object files.
BUILD  ?= build
# The name of the assembler listing file to generate.
LIST   ?= $(TARGET:.mod=.list)
# The name of the map file to generate.
MAP    ?= $(TARGET:.mod=.map)

INC_DIRS += $(LIB_INC_DIRS)

###############################################################################
# Compiler settings

# The toolchain to use.
PREFIX  = powerpc-eabi-
# Tools to use
AS      = $(PREFIX)as
LD      = $(PREFIX)ld
CC      = $(PREFIX)g++

# --relocatable: make sure ld doesn't remove relocations bslug will need
# -s: strip local symbols to speed linking
# --gc-sections: remove unneeded symbols
# -T: use the linker script specified (to force certain bslug sections together)<commit_msg>Added OBJDUMP variable to libfat Makefile.<commit_after>###############################################################################
# Makefile
#  by <NAME>
#
# A makefile script for generation of a brainslug module
###############################################################################
# Hopefully you shouldn't need to change anything in this file.
# Alter makefile.mk to change common settings.

###############################################################################
# devkitpro settings
ifeq ($(strip $(DEVKITPRO)),)
  $(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro")
endif
ifeq ($(strip $(DEVKITPPC)),)
  $(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPPC")
endif

BSLUGDIR := $(DEVKITPRO)/bslug

PATH := $(DEVKITPPC)/bin:$(PATH)
LIB_INC_DIRS := $(DEVKITPPC)/lib/gcc/powerpc-eabi/4.6.3/include \
                $(DEVKITPPC)/lib/gcc/powerpc-eabi/4.6.3/include-fixed \
                $(BSLUGDIR)/include

include makefile.mk

###############################################################################
# Parameters

# A comma to make writing commands easier
C := ,
# Used to suppress command echo.
Q      ?= @
LOG    ?= @echo $@
# The intermediate directory for compiled object files.
BUILD  ?= build
# The name of the assembler listing file to generate.
LIST   ?= $(TARGET:.mod=.list)
# The name of the map file to generate.
MAP    ?= $(TARGET:.mod=.map)

INC_DIRS += $(LIB_INC_DIRS)

###############################################################################
# Compiler settings

# The toolchain to use.
PREFIX  = powerpc-eabi-
# Tools to use
AS      = $(PREFIX)as
LD      = $(PREFIX)ld
CC      = $(PREFIX)g++
OBJDUMP = $(PREFIX)objdump

# --relocatable: make sure ld doesn't remove relocations bslug will need
# -s: strip local symbols to speed linking
# --gc-sections: remove unneeded symbols
# -T: use the linker script specified (to force certain bslug sections together)
{'fraction_non_alphanumeric': 0.2971938775510204, 'fraction_numerical': 0.003061224489795918, 'mean_word_length': 4.800295857988166, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '3183952', 'n_tokens_mistral': 1165, 'n_tokens_neox': 1089, 'n_words': 342}