blob: 13bf47efc9524214ccb23eb147ea76a6eb42434a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#
#
#
CC=gcc
CFLAGS=-O2 -D_GNU_SOURCE -DGETPIR -Wall
all: getpir checkpir
./checkpir
getpir: getpir.o checksum.o code_gen.o
$(CC) $(CFLAGS) -o getpir $^
checkpir: checkpir.c checksum.o irq_tables.o
$(CC) $(CFLAGS) -o checkpir $^
irq_tables.c: getpir
./getpir
clean:
rm -f getpir checkpir *.o *~
distclean: clean
rm -f irq_tables.o irq_tables.c
|