summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/benchmarks/Makefile
blob: a9adfb7de78f3f163e5090c9c1ce7690e64b1afe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
TEST_PROGS := gettimeofday context_switch mmap_bench futex_bench

CFLAGS += -O2

all: $(TEST_PROGS)

$(TEST_PROGS): ../harness.c

context_switch: ../utils.c
context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec
context_switch: LDLIBS += -lpthread

include ../../lib.mk

clean:
	rm -f $(TEST_PROGS) *.o
OpenPOWER on IntegriCloud