2 CFLAGS=-I../include -I../include/raw -I../lwip/src/include -I../lwip/src/include/ipv4 -nostdlib -nostdinc -fno-builtin -D__RAW__ -Wall -Werror -pedantic -ansi -std=gnu99
5 ../lwip/src/core/dhcp.o \
6 ../lwip/src/core/dns.o \
7 ../lwip/src/core/init.o \
8 ../lwip/src/core/ipv4/autoip.o \
9 ../lwip/src/core/ipv4/icmp.o \
10 ../lwip/src/core/ipv4/igmp.o \
11 ../lwip/src/core/ipv4/inet.o \
12 ../lwip/src/core/ipv4/inet_chksum.o \
13 ../lwip/src/core/ipv4/ip.o \
14 ../lwip/src/core/ipv4/ip_addr.o \
15 ../lwip/src/core/ipv4/ip_frag.o \
16 ../lwip/src/core/mem.o \
17 ../lwip/src/core/memp.o \
18 ../lwip/src/core/netif.o \
19 ../lwip/src/core/pbuf.o \
20 ../lwip/src/core/raw.o \
21 ../lwip/src/core/stats.o \
22 ../lwip/src/core/sys.o \
23 ../lwip/src/core/tcp.o \
24 ../lwip/src/core/tcp_in.o \
25 ../lwip/src/core/tcp_out.o \
26 ../lwip/src/core/udp.o \
27 ../lwip/src/netif/etharp.o \
28 ../lwip/src/netif/ethernetif.o
30 OBJS=counter.o firstrun.o ../pci/pci-raw.o ../lib/minilib.o ../lib/console.o \
31 ../ich2/smram-ich2.o ../ich2/smi.o vga-overlay.o packet.o \
32 ../lib/sprintf.o ../lib/doprnt.o ../pci/pci.o ../net/net.o \
33 ../ich2/ich2-timer.o ../pci/pci-bother.o ../net/3c90x.o keyboard.o \
34 ../lib/serial.o $(LWIP_OBJS)
38 aseg.elf: aseg.lds aseg.o $(OBJS)
39 ld -o aseg.elf -T aseg.lds $(OBJS)
42 rm -f $(OBJS) aseg.elf aseg.bin aseg.o
47 objcopy -I binary -B i386 -O elf32-i386 $@.bin $@