Basic working version generates sounds and graphics
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
TOOLCHAIN = arm-none-eabi
|
||||
CC = $(TOOLCHAIN)-gcc
|
||||
OBJCOPY = $(TOOLCHAIN)-objcopy
|
||||
|
||||
all: kernel.img
|
||||
|
||||
kernel.img: boot.o kernel.o
|
||||
$(CC) -T link.ld -o kernel.elf -ffreestanding -O2 -nostdlib boot.o kernel.o
|
||||
$(OBJCOPY) kernel.elf -O binary kernel.img
|
||||
|
||||
clean:
|
||||
rm -f *.o *.elf *.img
|
||||
Reference in New Issue
Block a user