summaryrefslogtreecommitdiff
path: root/util/getpir/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/getpir/Makefile')
-rw-r--r--util/getpir/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/util/getpir/Makefile b/util/getpir/Makefile
index dab85d21f2..fffb13872a 100644
--- a/util/getpir/Makefile
+++ b/util/getpir/Makefile
@@ -2,25 +2,23 @@
#LINUXBIOSROOT=/home/rminnich/src//freebios/
LINUXBIOSROOT=../..
-INCLUDEPATH=$(LINUXBIOSROOT)/src/arch/i386/include/arch
+INCLUDEPATH=$(LINUXBIOSROOT)/src/arch/i386/include
INCLUDE2=$(LINUXBIOSROOT)/src/include
-INCLUDE3=$(LINUXBIOSROOT)/src/arch/i386/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
-assignirq: assignirq.c irq_tables.o
- gcc -g -o assignirq -I$(INCLUDEPATH) -I$(INCLUDE2) assignirq.c -lpci
irq_tables.o: irq_tables.c
- gcc -c -I$(INCLUDEPATH) -I$(INCLUDE2) -I$(INCLUDE3) irq_tables.c
+ gcc -c -I$(INCLUDEPATH) -I$(INCLUDE2) irq_tables.c
clean:
- rm -f irq_tables.o getpir checkpir assignirq *~
+ rm -f irq_tables.o getpir checkpir *~
cleantable:
rm -f irq_table.o