Makefile 225 B

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