track new

This commit is contained in:
Agnosto Dvonik 2024-02-18 07:20:14 -05:00
parent 5b8ab6bcab
commit 6c72923c9e

View File

@ -1,17 +1,17 @@
#!/usr/bin/env sh
OBJ="obj"
INCLUDE="-Isys/drv/vga/include -Isys/include"
INCLUDE="-Isys/include"
CFLAGS="-g -m32 -ffreestanding -Wall -Wextra -pedantic -nostdlib $INCLUDE"
ASFLAGS="-felf32"
LDFLAGS="-m elf_i386"
mkdir -p $OBJ
rm -rf $OBJ/*
. boot/Makescript
. sys/Makescript
. sys/drv/Makescript
ld $LDFLAGS -T boot/link.ld -o omos obj/boot.o obj/vga.o obj/sysinit.o
ld $LDFLAGS -T boot/link.ld -o omos $(for a in $OBJ/*; do printf "$a "; done)
echo "Build Success"