coreboot-kgpe-d16/util/getpir/Makefile
Li-Ta Lo 6c4c00404b removed unused assignirq.c and aute generated irq_tables.c
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1502 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-04-13 23:19:27 +00:00

28 lines
605 B
Makefile

# change to the path of your linuxbios tree
#LINUXBIOSROOT=/home/rminnich/src//freebios/
LINUXBIOSROOT=../..
INCLUDEPATH=$(LINUXBIOSROOT)/src/arch/i386/include
INCLUDE2=$(LINUXBIOSROOT)/src/include
getpir: getpir.c
gcc -o getpir -I$(INCLUDEPATH) -I$(INCLUDE2) getpir.c
all: getpir checkpir
checkpir: checkpir.c irq_tables.o
gcc -o checkpir -I$(INCLUDEPATH) -I$(INCLUDE2) irq_tables.o checkpir.c
irq_tables.o: irq_tables.c
gcc -c -I$(INCLUDEPATH) -I$(INCLUDE2) irq_tables.c
clean:
rm -f irq_tables.o getpir checkpir *~
cleantable:
rm -f irq_table.o
test: checkpir
./checkpir ;\
exit 0;