blob: fb96a89bd953bf471fce6c6766ab00e0664ddfbe [file] [log] [blame]
bamvor.zhangjian@huawei.com88baa782016-11-29 19:55:47 +08001TEST_GEN_PROGS := gettimeofday context_switch mmap_bench futex_bench null_syscall
Michael Neulingd17475d2015-09-25 14:01:39 +10002
3CFLAGS += -O2
4
bamvor.zhangjian@huawei.com88baa782016-11-29 19:55:47 +08005include ../../lib.mk
Michael Neulingd17475d2015-09-25 14:01:39 +10006
Michael Ellerman68bd42d92017-02-09 19:56:30 +11007$(TEST_GEN_PROGS): ../harness.c
8
bamvor.zhangjian@huawei.coma8ba7982016-11-29 19:55:52 +08009$(OUTPUT)/context_switch: ../utils.c
10$(OUTPUT)/context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec
11$(OUTPUT)/context_switch: LDLIBS += -lpthread