<commit_before>#
# Copyright (c) 2015, <NAME>. All rights reserved.
#
TOPDIR = ../..
TESTDIR = ..
CONFIG_DIR = $(TESTDIR)/config

include $(CONFIG_DIR)/config.mk
include $(CONFIG_DIR)/tools.mk

#
# Project Infomation
#
PROJECT=tos_test
TARGET_BIN=$(PROJECT).bin
TARGET_ELF=$(PROJECT).elf

#
# Optimize
#
OPT = -O3

#
# 
#
FLAGS = -Wall -fno-builtin -MD

#
# Assembler Compile Flags
#
AFLAGS = $(OPT) $(FLAGS)

#
# C Language Compile Flags
#
CFLAGS = $(OPT) $(FLAGS) -std=c99 -ansi -pedantic $(INCLUDES)

#
# Assembler Sources
#
TEST_ASRCS = crt0.S

#
# C Language Sources
#
KERNEL_CSRCS = start_kernel.c
TEST_CSRCS = main.c

#
# Object Files
#
OBJS = $(TEST_ASRCS:.S=.o) $(TEST_CSRCS:.c=.o)
KERNEL_OBJS = $(KERNEL_CSRCS:.c=.o)

#
# Depend Files
#
DEPENDS = $(OBJS:.o=.d) $(KERNEL_OBJS:.o=.d)

VPATH = $(TESTDIR)/src $(TESTDIR)/bsp/$(TARGET_ENV) $(TOPDIR)/kernel

#
# Make Rules
#
.PHONY: clean kernel

all: $(TARGET_BIN)

$(TARGET_BIN): $(TARGET_ELF)

$(TARGET_ELF): kernel $(OBJS)

kernel : $(KERNEL_OBJS)

clean:
	-$(RM) $(OBJS)
	-$(RM) $(KERNEL_OBJS)
	-$(RM) $(DEPENDS)

include $(CONFIG_DIR)/rule.mk

sinclude $(DEPENDS)
<commit_msg>add all target to .PHONY<commit_after>#
# Copyright (c) 2015, <NAME>. All rights reserved.
#
TOPDIR = ../..
TESTDIR = ..
CONFIG_DIR = $(TESTDIR)/config

include $(CONFIG_DIR)/config.mk
include $(CONFIG_DIR)/tools.mk

#
# Project Infomation
#
PROJECT=tos_test
TARGET_BIN=$(PROJECT).bin
TARGET_ELF=$(PROJECT).elf

#
# Optimize
#
OPT = -O3

#
# 
#
FLAGS = -Wall -fno-builtin -MD

#
# Assembler Compile Flags
#
AFLAGS = $(OPT) $(FLAGS)

#
# C Language Compile Flags
#
CFLAGS = $(OPT) $(FLAGS) -std=c99 -ansi -pedantic $(INCLUDES)

#
# Assembler Sources
#
TEST_ASRCS = crt0.S

#
# C Language Sources
#
KERNEL_CSRCS = start_kernel.c
TEST_CSRCS = main.c

#
# Object Files
#
OBJS = $(TEST_ASRCS:.S=.o) $(TEST_CSRCS:.c=.o)
KERNEL_OBJS = $(KERNEL_CSRCS:.c=.o)

#
# Depend Files
#
DEPENDS = $(OBJS:.o=.d) $(KERNEL_OBJS:.o=.d)

VPATH = $(TESTDIR)/src $(TESTDIR)/bsp/$(TARGET_ENV) $(TOPDIR)/kernel

#
# Make Rules
#
.PHONY: all clean kernel

all: $(TARGET_BIN)

$(TARGET_BIN): $(TARGET_ELF)

$(TARGET_ELF): kernel $(OBJS)

kernel : $(KERNEL_OBJS)

clean:
	-$(RM) $(OBJS)
	-$(RM) $(KERNEL_OBJS)
	-$(RM) $(DEPENDS)

include $(CONFIG_DIR)/rule.mk

sinclude $(DEPENDS)

{'fraction_non_alphanumeric': 0.19353429445172565, 'fraction_numerical': 0.0069899519440803845, 'mean_word_length': 4.216400911161731, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1314485', 'n_tokens_mistral': 1027, 'n_tokens_neox': 990, 'n_words': 199}