<commit_before>################################################################################
## Apollo Kernel Makefile                                                     ## 
################################################################################
.PHONY: all clean link

X86_C_SOURCES = $(shell find arch/x86 -type f -name '*.c')
X86_S_SOURCES = $(shell find arch/x86 -type f -name '*.s')
X86_OBJECTS   = $(X86_S_SOURCES:.s=.o) $(X86_C_SOURCES:.c=.o)

LIBC_SOURCES  = $(shell find libc -type f -name '*.c')
LIBC_OBJECTS  = $(LIBC_SOURCES:.c=.o)

CORE_SOURCES  = $(shell find core -type f -name '*.c')
CORE_OBJECTS  = $(CORE_SOURCES:.c=.o)

# Default Programs
CC		= i586-elf-gcc
NASM		= nasm

#### Flags ####
LDFLAGS		?= -Tlink.ld -lgcc
CFLAGS		?= -Wall -ffreestanding -fbuiltin -nostdlib -masm=intel
CPPFLAGS	?= -Iinclude
NASMFLAGS	?= -felf
BINDIR		?= ../bin/
### Targets ###
all: link
clean:
	find . -type f -name '*.o' -exec rm {} +
link: $(X86_OBJECTS) $(CORE_OBJECTS) $(LIBC_OBJECTS) 
	$(CC) $(CFLAGS) $(LDFLAGS) -o $(BINDIR)sys.mod $(X86_OBJECTS) $(CORE_OBJECTS) $(LIBC_OBJECTS)
.c.o:
	$(CC) -c $< -o $@ $(CFLAGS) $(CPPFLAGS)
.s.o:
	$(NASM) $(NASMFLAGS) $< -o $@<commit_msg>Changed the $(shell ...) syntax to != ... syntax<commit_after>################################################################################
## Apollo Kernel Makefile                                                     ## 
################################################################################
.PHONY: all clean link

X86_C_SOURCES != find arch/x86 -type f -name '*.c'
X86_S_SOURCES != find arch/x86 -type f -name '*.s'
X86_OBJECTS   = $(X86_S_SOURCES:.s=.o) $(X86_C_SOURCES:.c=.o)

LIBC_SOURCES  != find libc -type f -name '*.c'
LIBC_OBJECTS  = $(LIBC_SOURCES:.c=.o)

CORE_SOURCES  != find core -type f -name '*.c'
CORE_OBJECTS  = $(CORE_SOURCES:.c=.o)

# Default Programs
CC		= i586-elf-gcc
NASM		= nasm

#### Flags ####
LDFLAGS		?= -Tlink.ld -lgcc
CFLAGS		?= -Wall -ffreestanding -fbuiltin -nostdlib -masm=intel
CPPFLAGS	?= -Iinclude
NASMFLAGS	?= -felf
BINDIR		?= ../bin/

### Targets ###
all: link
clean:
	find . -type f -name '*.o' -exec rm {} +
link: $(X86_OBJECTS) $(CORE_OBJECTS) $(LIBC_OBJECTS) 
	$(CC) $(CFLAGS) $(LDFLAGS) -o $(BINDIR)sys.mod $(X86_OBJECTS) $(CORE_OBJECTS) $(LIBC_OBJECTS)
.c.o:
	$(CC) -c $< -o $@ $(CFLAGS) $(CPPFLAGS)
.s.o:
	$(NASM) $(NASMFLAGS) $< -o $@
{'fraction_non_alphanumeric': 0.3063704945515507, 'fraction_numerical': 0.01760268231349539, 'mean_word_length': 3.538022813688213, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4762050', 'n_tokens_mistral': 990, 'n_tokens_neox': 888, 'n_words': 205}