]> Joshua Wise's Git repositories - netwatch.git/blame - grubload/Makefile
add a first cut at a SMI API -- not many features...
[netwatch.git] / grubload / Makefile
CommitLineData
85bc8ca6 1OBJS=multiboot_c.o multiboot_asm.o realmode.o loader.o ../pci/pci-raw.o ../lib/minilib.o ../lib/console.o ../ich2/smram-ich2.o ../ich2/smi.o
9b8c947b 2CC=gcc
c34aba05 3CFLAGS=-nostdlib -I../include -I../include/raw -I. -D__RAW__ -fno-builtin -nostdinc
9b8c947b
JW
4
5all: multiboot
6
7multiboot: $(OBJS)
8 ld -o multiboot $(OBJS) -Ttext=0x100000
c4a16564
JW
9
10realmode.bin: realmode.asm
11 nasm -o realmode.bin realmode.asm
12
13realmode.o: realmode.bin
14 objcopy -I binary -B i386 -O elf32-i386 realmode.bin realmode.o
7e16b8e6
JP
15
16clean:
4122ee13 17 rm -f $(OBJS) realmode.bin multiboot
This page took 0.027082 seconds and 4 git commands to generate.