]> Joshua Wise's Git repositories - netwatch.git/blame - aseg-paging/Makefile
remove old stuff
[netwatch.git] / aseg-paging / Makefile
CommitLineData
9e2a82e4
JP
1CC=gcc
2CFLAGS=-I../include -I../include/raw \
3 -I../lwip/src/include -I../lwip/src/include/ipv4 \
4 -nostdlib -nostdinc -fno-builtin -D__RAW__ \
5 -Wall -Werror -std=gnu99
6
7STUBOBJS=entry.o pagingstub-asm.o pagingstub.o
8
bf47740a 9OBJS=smi.o ../ich2/smi.o ../ich2/smram-ich2.o vga-overlay.o ../pci/pci-raw.o ../lib/minilib.o ../lib/doprnt.o ../lib/sprintf.o ../lib/console.o ../lib/serial.o
9e2a82e4
JP
10
11all: aseg.elf
12
13aseg.elf: aseg.lds $(STUBOBJS) $(OBJS)
14 ld -o aseg.elf -T aseg.lds $(STUBOBJS) $(OBJS)
15
16clean:
17 rm -f $(OBJS) aseg.elf entry.bin entry.o
18
19%.o: %.asm
20 nasm -o $@.bin $<
21 objcopy -I binary -B i386 -O elf32-i386 $@.bin $@
22 rm -f $@.bin
This page took 0.024023 seconds and 4 git commands to generate.