1 # SPDX-License-Identifier: GPL-2.0
2 TEST_GEN_PROGS := gettimeofday context_switch fork mmap_bench futex_bench null_syscall
3 TEST_GEN_FILES := exec_target
9 $(TEST_GEN_PROGS): ../harness.c
11 $(OUTPUT)/context_switch: ../utils.c
12 $(OUTPUT)/context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec
13 $(OUTPUT)/context_switch: LDLIBS += -lpthread
15 $(OUTPUT)/fork: LDLIBS += -lpthread
17 $(OUTPUT)/exec_target: CFLAGS += -static -nostartfiles