track new
This commit is contained in:
parent
5b8ab6bcab
commit
6c72923c9e
@ -1,17 +1,17 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
OBJ="obj"
|
OBJ="obj"
|
||||||
INCLUDE="-Isys/drv/vga/include -Isys/include"
|
INCLUDE="-Isys/include"
|
||||||
CFLAGS="-g -m32 -ffreestanding -Wall -Wextra -pedantic -nostdlib $INCLUDE"
|
CFLAGS="-g -m32 -ffreestanding -Wall -Wextra -pedantic -nostdlib $INCLUDE"
|
||||||
ASFLAGS="-felf32"
|
ASFLAGS="-felf32"
|
||||||
LDFLAGS="-m elf_i386"
|
LDFLAGS="-m elf_i386"
|
||||||
|
|
||||||
mkdir -p $OBJ
|
mkdir -p $OBJ
|
||||||
|
rm -rf $OBJ/*
|
||||||
|
|
||||||
. boot/Makescript
|
. boot/Makescript
|
||||||
. sys/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"
|
echo "Build Success"
|
||||||
|
Loading…
Reference in New Issue
Block a user