<commit_before>OBJS += ../base/cancellation.o
OBJS += ../base/util.o
OBJS += build.o
OBJS += crash.o
OBJS += audio.o
OBJS += cia.o
OBJS += floppy.o
OBJS += joymouse.o
OBJS += keyboard.o
OBJS += memory.o
OBJS += mfm.o
OBJS += serpar.o
OBJS += systest.o
OBJS += video.o

include ../base/Rules.mk

# build.o must be refreshed on every build
.PHONY: build.c

.PHONY: all
all: systest.zip

systest.zip: systest.adf systest.exe SysTest.info
	cp systest.exe SysTest
	chmod 0755 SysTest
	mkdir -p debug ; cp *.elf debug
	$(RM) $@
	zip -q $@ $(subst systest.exe,SysTest,$^) debug/*
	$(RM) -r SysTest debug

systest_exe.elf: OBJS := dos_entry.o $(OBJS)
systest_exe.elf: dos_entry.o

systest_adf.elf: OBJS := bootblock.o $(OBJS)
systest_adf.elf: bootblock.o

systest.exe: systest_exe.bin
	python ../base/mk_amiga_exe.py $< $@

systest.adf: systest_adf.bin
	dd if=/dev/zero of=$@ bs=512 count=1760 status=none
	adfwrite $@ $< 0 1759 -r -c

clean::
	$(RM) *.adf *.exe *.zip ../base/*.o SysTest
<commit_msg>systest: Include the README in the distribution zip<commit_after>OBJS += ../base/cancellation.o
OBJS += ../base/util.o
OBJS += build.o
OBJS += crash.o
OBJS += audio.o
OBJS += cia.o
OBJS += floppy.o
OBJS += joymouse.o
OBJS += keyboard.o
OBJS += memory.o
OBJS += mfm.o
OBJS += serpar.o
OBJS += systest.o
OBJS += video.o

include ../base/Rules.mk

# build.o must be refreshed on every build
.PHONY: build.c

.PHONY: all
all: systest.zip

systest.zip: systest.adf systest.exe SysTest.info README.md
	cp systest.exe SysTest
	chmod 0755 SysTest
	mkdir -p debug ; cp *.elf debug
	$(RM) $@
	zip -q $@ $(subst systest.exe,SysTest,$^) debug/*
	$(RM) -r SysTest debug

systest_exe.elf: OBJS := dos_entry.o $(OBJS)
systest_exe.elf: dos_entry.o

systest_adf.elf: OBJS := bootblock.o $(OBJS)
systest_adf.elf: bootblock.o

systest.exe: systest_exe.bin
	python ../base/mk_amiga_exe.py $< $@

systest.adf: systest_adf.bin
	dd if=/dev/zero of=$@ bs=512 count=1760 status=none
	adfwrite $@ $< 0 1759 -r -c

clean::
	$(RM) *.adf *.exe *.zip ../base/*.o SysTest

{'fraction_non_alphanumeric': 0.16617502458210423, 'fraction_numerical': 0.015732546705998034, 'mean_word_length': 3.522222222222222, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, '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': '1498864', 'n_tokens_mistral': 961, 'n_tokens_neox': 869, 'n_words': 218}