CC=gcc
-CFLAGS=-I../include -nostdlib -nostdinc -fno-builtin
-OBJS=counter.o ../pci/pci-smm.o ../lib/minilib.o ../lib/console.o
+CFLAGS=-I../include -I../include/raw -nostdlib -nostdinc -fno-builtin -D__RAW__
+OBJS=counter.o ../pci/pci-raw.o ../lib/minilib.o ../lib/console.o
all: aseg.elf
aseg.elf: aseg.lds aseg.o $(OBJS)
ld -o aseg.elf -T aseg.lds $(OBJS)
+
+clean:
+ rm -f $(OBJS) aseg.elf aseg.bin aseg.o