mm: put all code into separate files
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
# Define the object files
|
||||
OBJS = bin/boot.o bin/kernel.o bin/idt.o bin/isr.o bin/screen.o bin/utils.o bin/string.o bin/stdio.o bin/disk.o bin/pic.o bin/pit.o bin/keyboard.o bin/paging.o bin/fat.o bin/task.o bin/switch.o
|
||||
OBJS = bin/boot.o bin/kernel.o bin/idt.o bin/isr.o bin/screen.o \
|
||||
bin/utils.o bin/string.o bin/stdio.o bin/disk.o bin/pic.o bin/pit.o \
|
||||
bin/keyboard.o bin/paging.o bin/heap.o bin/page_alloc.o bin/page_tables.o \
|
||||
bin/fat.o bin/task.o bin/switch.o
|
||||
|
||||
# Define the compiler and assembler
|
||||
CC = gcc -D__is_katauos
|
||||
@@ -93,6 +96,15 @@ bin/keyboard.o: src/drivers/keyboard.c
|
||||
bin/paging.o: src/mm/paging.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
bin/heap.o: src/mm/heap.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
bin/page_alloc.o: src/mm/page_alloc.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
bin/page_tables.o: src/mm/page_tables.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
bin/fat.o: src/drivers/fat.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user