blob: 73a9d66a5f64f41cf25ee5961062ad20f3cd0a3a (
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
|
CFLAGS ?= -g -O2 -mcpu=ev67 -pipe -std=gnu99
all: ev5 ev6 ev6-no-prefetch ev7 clear_page ev6-prefetch_m
ev5: test.o ev5-clear_page.S
$(CC) $^ -o $@
ev6: test.o ev6-clear_page.S
$(CC) -DWH64="wh64" $^ -o $@
ev6-no-prefetch: test.o ev6-clear_page.S
$(CC) -DWH64="nop #" $^ -o $@
ev7: test.o ev6-clear_page.S
$(CC) -DWH64="wh64en" $^ -o $@
clear_page: test.o clear_page.c
$(CC) $(CFLAGS) $^ -o $@
ev6-prefetch_m: test.o ev6-clear_page-prefetch_m.S
$(CC) $(CFLAGS) $^ -o $@
clean:
rm -f *.o ev5 ev6 ev6-no-prefetch ev7 clear_page ev6-prefetch_m
|