<commit_before># Makefile for the Wagtail OS
# (c) <NAME> 2012 <<EMAIL>>
# Report bugs and issues on <http://github.com/skordal/wagtail/issues>

# Build configuration file:
include ../config.mk

.PHONY: all clean

# List of applications (subdirectories) to build:
APPLICATIONS := hello
.PHONY: $(APPLICATIONS)

# Main build target:
all: header.o start.o $(APPLICATIONS)

# Recipie for building the application header:
header.o: header.S
	$(CXX) $(CXXFLAGS) -c -o header.o header.S

# Recipie for the application start file:
start.o: start.S
	$(CXX) $(CXXFLAGS) -c -o start.o start.S

# Recipie for building application directories:
$(APPLICATIONS): application.ld
	@$(MAKE) -C $@

# Clean recipie:
clean:
	-$(RM) header.o start.o
	@for dir in $(APPLICATIONS); do \
		$(MAKE) -C $$dir clean; \
	done

<commit_msg>Added common dependencies to the application targets<commit_after># Makefile for the Wagtail OS
# (c) <NAME> 2012 <<EMAIL>>
# Report bugs and issues on <http://github.com/skordal/wagtail/issues>

# Build configuration file:
include ../config.mk

.PHONY: all clean

# List of applications (subdirectories) to build:
APPLICATIONS := hello
.PHONY: $(APPLICATIONS)

# Main build target:
all: header.o start.o $(APPLICATIONS)

# Recipie for building the application header:
header.o: header.S
	$(CXX) $(CXXFLAGS) -c -o header.o header.S

# Recipie for the application start file:
start.o: start.S
	$(CXX) $(CXXFLAGS) -c -o start.o start.S

# Recipie for building application directories:
$(APPLICATIONS): header.o start.o application.ld
	@$(MAKE) -C $@

# Clean recipie:
clean:
	-$(RM) header.o start.o
	@for dir in $(APPLICATIONS); do \
		$(MAKE) -C $$dir clean; \
	done


{'fraction_non_alphanumeric': 0.14047619047619048, 'fraction_numerical': 0.004761904761904762, 'mean_word_length': 4.140672782874618, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '7267677', 'n_tokens_mistral': 627, 'n_tokens_neox': 585, 'n_words': 196}