Makefile (a402eae64d0ad12b1c4a411f250d6c161e67f623) | Makefile (88baa78d1f318e57c7cccbfe55d485befd1ce696) |
---|---|
1TEST_PROGS := gettimeofday context_switch mmap_bench futex_bench null_syscall | 1TEST_GEN_PROGS := gettimeofday context_switch mmap_bench futex_bench null_syscall |
2 3CFLAGS += -O2 4 | 2 3CFLAGS += -O2 4 |
5all: $(TEST_PROGS) | 5$(TEST_GEN_PROGS): ../harness.c |
6 | 6 |
7$(TEST_PROGS): ../harness.c | 7include ../../lib.mk |
8 9context_switch: ../utils.c 10context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec 11context_switch: LDLIBS += -lpthread | 8 9context_switch: ../utils.c 10context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec 11context_switch: LDLIBS += -lpthread |
12 13include ../../lib.mk 14 15clean: 16 rm -f $(TEST_PROGS) *.o | |