Makefile (c09c9dd2e9c732658c744a802101d5c34fedde22) Makefile (00b7ec5c9cf338902faea2e40801573a384e45be)
1TEST_PROGS := gettimeofday
1TEST_PROGS := gettimeofday context_switch
2
3CFLAGS += -O2
4
5all: $(TEST_PROGS)
6
7$(TEST_PROGS): ../harness.c
8
2
3CFLAGS += -O2
4
5all: $(TEST_PROGS)
6
7$(TEST_PROGS): ../harness.c
8
9context_switch: LDLIBS += -lpthread
10
9include ../../lib.mk
10
11clean:
12 rm -f $(TEST_PROGS) *.o
11include ../../lib.mk
12
13clean:
14 rm -f $(TEST_PROGS) *.o