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: LDLIBS += -lpthread 11 12include ../../lib.mk 13 14clean: 15 rm -f $(TEST_PROGS) *.o 16
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: LDLIBS += -lpthread 11 12include ../../lib.mk 13 14clean: 15 rm -f $(TEST_PROGS) *.o 16