]> Joshua Wise's Git repositories - netwatch.git/blame_incremental - grubload/Makefile
Add cut 1 at a TODO list
[netwatch.git] / grubload / Makefile
... / ...
CommitLineData
1OBJS=multiboot_c.o multiboot_asm.o realmode.o loader.o ../pci/pci-raw.o ../lib/minilib.o ../lib/console.o
2CC=gcc
3CFLAGS=-nostdlib -I../include -I. -fno-builtin -nostdinc
4
5all: multiboot
6
7multiboot: $(OBJS)
8 ld -o multiboot $(OBJS) -Ttext=0x100000
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
15
16clean:
17 rm -f $(OBJS)
This page took 0.018467 seconds and 4 git commands to generate.