xref: /linux/tools/testing/selftests/powerpc/benchmarks/Makefile (revision 88baa78d1f318e57c7cccbfe55d485befd1ce696)
1*88baa78dSbamvor.zhangjian@huawei.comTEST_GEN_PROGS := gettimeofday context_switch mmap_bench futex_bench null_syscall
2d17475d9SMichael Neuling
3d17475d9SMichael NeulingCFLAGS += -O2
4d17475d9SMichael Neuling
5*88baa78dSbamvor.zhangjian@huawei.com$(TEST_GEN_PROGS): ../harness.c
6d17475d9SMichael Neuling
7*88baa78dSbamvor.zhangjian@huawei.cominclude ../../lib.mk
8d17475d9SMichael Neuling
9ea0c3217SMichael Ellermancontext_switch: ../utils.c
10f2418ae8SCyril Burcontext_switch: CFLAGS += -maltivec -mvsx -mabi=altivec
1100b7ec5cSMichael Ellermancontext_switch: LDLIBS += -lpthread
12