removed unused assignirq.c and aute generated irq_tables.c
[coreboot.git] / util / getpir / Makefile
1 # change to the path of your linuxbios tree
2 #LINUXBIOSROOT=/home/rminnich/src//freebios/
3 LINUXBIOSROOT=../..
4
5 INCLUDEPATH=$(LINUXBIOSROOT)/src/arch/i386/include
6 INCLUDE2=$(LINUXBIOSROOT)/src/include
7
8 getpir: getpir.c
9         gcc -o getpir -I$(INCLUDEPATH) -I$(INCLUDE2) getpir.c
10
11 all: getpir checkpir
12
13 checkpir: checkpir.c irq_tables.o
14         gcc -o checkpir -I$(INCLUDEPATH) -I$(INCLUDE2) irq_tables.o checkpir.c
15
16
17 irq_tables.o: irq_tables.c  
18         gcc -c -I$(INCLUDEPATH) -I$(INCLUDE2) irq_tables.c
19
20 clean:
21         rm -f irq_tables.o getpir checkpir *~
22
23 cleantable:
24         rm -f irq_table.o
25
26 test:   checkpir
27         ./checkpir ;\
28         exit 0;