100b7ec5cSMichael EllermanTEST_PROGS := gettimeofday context_switch 2d17475d9SMichael Neuling 3d17475d9SMichael NeulingCFLAGS += -O2 4d17475d9SMichael Neuling 5d17475d9SMichael Neulingall: $(TEST_PROGS) 6d17475d9SMichael Neuling 7d17475d9SMichael Neuling$(TEST_PROGS): ../harness.c 8d17475d9SMichael Neuling 9*ea0c3217SMichael Ellermancontext_switch: ../utils.c 1000b7ec5cSMichael Ellermancontext_switch: LDLIBS += -lpthread 1100b7ec5cSMichael Ellerman 12d17475d9SMichael Neulinginclude ../../lib.mk 13d17475d9SMichael Neuling 14d17475d9SMichael Neulingclean: 15d17475d9SMichael Neuling rm -f $(TEST_PROGS) *.o 16