Add detection/dump support for ServerEngines SE-SM 4210-P01.
[coreboot.git] / util / getpir / Makefile
1 #
2 #
3 #
4
5 CC=gcc
6 CFLAGS=-O2 -D_GNU_SOURCE -DGETPIR -Wall
7
8 all: getpir
9
10 getpir: getpir.o checksum.o code_gen.o
11         $(CC) $(CFLAGS) -o getpir $^
12
13 checkpir: checkpir.c checksum.o irq_tables.o
14         $(CC) $(CFLAGS) -o checkpir $^
15
16 irq_tables.c: getpir
17         ./getpir
18
19 clean:
20         rm -f getpir checkpir *.o *~
21
22 distclean: clean
23         rm -f irq_tables.o irq_tables.c
24