summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/benchmarks/Makefile
blob: 08a55bd178005699bb8ad93da09ec9fa3b7eda99 (plain)
1
2
3
4
5
6
7
8
9
10
11
TEST_GEN_PROGS := gettimeofday context_switch mmap_bench futex_bench null_syscall

CFLAGS += -O2

$(TEST_GEN_PROGS): ../harness.c

include ../../lib.mk

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