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