Makefile (858a0d7eb5300b5f620d98ab3c4b96c9d5f19131) | Makefile (68bd42d97c30d51217b8c3b2b22fede577d8371c) |
---|---|
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) 6 7$(TEST_PROGS): ../harness.c 8 9context_switch: ../utils.c 10context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec 11context_switch: LDLIBS += -lpthread 12 | |
13include ../../lib.mk 14 | 5include ../../lib.mk 6 |
15clean: 16 rm -f $(TEST_PROGS) *.o | 7$(TEST_GEN_PROGS): ../harness.c 8 9$(OUTPUT)/context_switch: ../utils.c 10$(OUTPUT)/context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec 11$(OUTPUT)/context_switch: LDLIBS += -lpthread |