1TEST_PROGS := gettimeofday context_switch 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 15clean: 16 rm -f $(TEST_PROGS) *.o 17