<commit_before>ASM=nasm
ASMFLAGS=-f elf
GCC=gcc
GCCFLAGS=-c -O2 -I../include/lib -Wall -ffreestanding -nostdlib -nostartfiles -nodefaultlibs
LD=ld
LDFLAGS=-Ttext 0x300000 -e main

all:
	@$(GCC) $(GCCFLAGS) cat.c -o cat.o
	@$(LD) $(LDFLAGS) cat.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o cat
	@$(ASM) $(ASMFLAGS) cpu.s -o cpus.o
	@$(GCC) $(GCCFLAGS) cpu.c -o cpu.o
	@$(LD) $(LDFLAGS) cpu.o cpus.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o cpu
	@$(GCC) $(GCCFLAGS) date.c -o date.o
	@$(LD) $(LDFLAGS) date.o ../lib/stack.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o date
	@$(GCC) $(GCCFLAGS) echo.c -o echo.o
	@$(LD) $(LDFLAGS) echo.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o echo
	@$(GCC) $(GCCFLAGS) elf.c -o elf.o
	@$(LD) $(LDFLAGS) elf.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o elf
	@$(GCC) $(GCCFLAGS) hello.c -o hello.o
	@$(LD) $(LDFLAGS) hello.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o hello
	@$(GCC) $(GCCFLAGS) ls.c -o ls.o
	@$(LD) $(LDFLAGS) ls.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o ls
	@$(GCC) $(GCCFLAGS) reboot.c -o reboot.o
	@$(LD) $(LDFLAGS) reboot.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o reboot
	@$(GCC) $(GCCFLAGS) shell.c -o shell.o
	@$(LD) $(LDFLAGS) shell.o ../lib/stack.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o shell
	@$(GCC) $(GCCFLAGS) timer.c -o timer.o
	@$(LD) $(LDFLAGS) timer.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o timer<commit_msg>added some stuff to ramdisk Makefile<commit_after>ASM=nasm
ASMFLAGS=-f elf
GCC=gcc
GCCFLAGS=-c -O2 -I../include/lib -Wall -ffreestanding -nostdlib -nostartfiles -nodefaultlibs
LD=ld
LDFLAGS=-Ttext 0x300000 -e main

all:
	@$(GCC) $(GCCFLAGS) cat.c -o cat.o
	@$(LD) $(LDFLAGS) cat.o ../lib/memory.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o cat
	@$(ASM) $(ASMFLAGS) cpu.s -o cpus.o
	@$(GCC) $(GCCFLAGS) cpu.c -o cpu.o
	@$(LD) $(LDFLAGS) cpu.o cpus.o ../lib/memory.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o cpu
	@$(GCC) $(GCCFLAGS) date.c -o date.o
	@$(LD) $(LDFLAGS) date.o ../lib/memory.o ../lib/stack.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o date
	@$(GCC) $(GCCFLAGS) echo.c -o echo.o
	@$(LD) $(LDFLAGS) echo.o ../lib/memory.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o echo
	@$(GCC) $(GCCFLAGS) elf.c -o elf.o
	@$(LD) $(LDFLAGS) elf.o ../lib/memory.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o elf
	@$(GCC) $(GCCFLAGS) hello.c -o hello.o
	@$(LD) $(LDFLAGS) hello.o ../lib/memory.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o hello
	@$(GCC) $(GCCFLAGS) ls.c -o ls.o
	@$(LD) $(LDFLAGS) ls.o ../lib/memory.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o ls
	@$(GCC) $(GCCFLAGS) reboot.c -o reboot.o
	@$(LD) $(LDFLAGS) reboot.o ../lib/memory.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o reboot
	@$(GCC) $(GCCFLAGS) shell.c -o shell.o
	@$(LD) $(LDFLAGS) shell.o ../lib/memory.o ../lib/stack.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o shell
	@$(GCC) $(GCCFLAGS) timer.c -o timer.o
	@$(LD) $(LDFLAGS) timer.o ../lib/memory.o ../lib/string.o ../lib/vfs.o ../lib/call.o ../lib/calls.o -o timer
{'fraction_non_alphanumeric': 0.2774601263918146, 'fraction_numerical': 0.004814926271441469, 'mean_word_length': 2.3306613226452906, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5064201', 'n_tokens_mistral': 1658, 'n_tokens_neox': 1491, 'n_words': 346}