<commit_before># TARGET #

TARGET := 3DS
LIBRARY := 0

ifeq ($(TARGET),3DS)
    ifeq ($(strip $(DEVKITPRO)),)
        $(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro")
    endif

    ifeq ($(strip $(DEVKITARM)),)
        $(error "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM")
    endif
endif

# PORTLIBS #

export PORTLIBS_PATH	:=	$(DEVKITPRO)/portlibs
PORTLIBS	:=	$(PORTLIBS_PATH)/armv6k $(PORTLIBS_PATH)/3ds

# COMMON CONFIGURATION #

NAME := 3DS EBook Reader

BUILD_DIR := build
OUTPUT_DIR := output
INCLUDE_DIRS := include
SOURCE_DIRS := source

EXTRA_OUTPUT_FILES :=

LIBRARY_DIRS := $(DEVKITPRO)/libctru $(PORTLIBS)
LIBRARIES := sftd sfil freetype jpeg turbojpeg png png16 sf2d ctru m z

BUILD_FLAGS := -DSTATUS_STRING="\"ftpd v$(VERSION)\""
RUN_FLAGS :=

#VERSION_PARTS := $(subst ., ,$(shell git describe --tags --abbrev=0))

#VERSION_MAJOR := $(word 1, $(VERSION_PARTS))
#VERSION_MINOR := $(word 2, $(VERSION_PARTS))
#VERSION_MICRO := $(word 3, $(VERSION_PARTS))

# 3DS CONFIGURATION #

TITLE := $(NAME)
DESCRIPTION := Read Ebooks on your 3DS!
AUTHOR := reworks
PRODUCT_CODE := CTR-P-EBOK
UNIQUE_ID := 0xEB001<commit_msg>removed leftover test flags<commit_after># TARGET #

TARGET := 3DS
LIBRARY := 0

ifeq ($(TARGET),3DS)
    ifeq ($(strip $(DEVKITPRO)),)
        $(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro")
    endif

    ifeq ($(strip $(DEVKITARM)),)
        $(error "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM")
    endif
endif

# PORTLIBS #

export PORTLIBS_PATH	:=	$(DEVKITPRO)/portlibs
PORTLIBS	:=	$(PORTLIBS_PATH)/armv6k $(PORTLIBS_PATH)/3ds

# COMMON CONFIGURATION #

NAME := 3DS EBook Reader

BUILD_DIR := build
OUTPUT_DIR := output
INCLUDE_DIRS := include
SOURCE_DIRS := source

EXTRA_OUTPUT_FILES :=

LIBRARY_DIRS := $(DEVKITPRO)/libctru $(PORTLIBS)
LIBRARIES := sftd sfil freetype jpeg turbojpeg png png16 sf2d ctru m z

BUILD_FLAGS :=
RUN_FLAGS :=

#VERSION_PARTS := $(subst ., ,$(shell git describe --tags --abbrev=0))

#VERSION_MAJOR := $(word 1, $(VERSION_PARTS))
#VERSION_MINOR := $(word 2, $(VERSION_PARTS))
#VERSION_MICRO := $(word 3, $(VERSION_PARTS))

# 3DS CONFIGURATION #

TITLE := $(NAME)
DESCRIPTION := Read Ebooks on your 3DS!
AUTHOR := reworks
PRODUCT_CODE := CTR-P-EBOK
UNIQUE_ID := 0xEB001
{'fraction_non_alphanumeric': 0.14153716925661486, 'fraction_numerical': 0.015959680806383873, 'mean_word_length': 4.795620437956204, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6280046', 'n_tokens_mistral': 961, 'n_tokens_neox': 879, 'n_words': 226}