Makefile (9938b04472d5c59f8bd8152a548533a8599596a2) Makefile (f2418ae8a81760b4dec8d5e3e7f1faf45c422e9d)
1TEST_PROGS := gettimeofday context_switch
2
3CFLAGS += -O2
4
5all: $(TEST_PROGS)
6
7$(TEST_PROGS): ../harness.c
8
9context_switch: ../utils.c
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
10context_switch: LDLIBS += -lpthread
11
12include ../../lib.mk
13
14clean:
15 rm -f $(TEST_PROGS) *.o
11context_switch: LDLIBS += -lpthread
12
13include ../../lib.mk
14
15clean:
16 rm -f $(TEST_PROGS) *.o