BUILD_FLAGS = -DKTEST
CFLAGS += -O3 -Wl,-no-as-needed -Wall $(BUILD_FLAGS)
LDFLAGS += -lrt -lpthread
-bins = posix_timers nanosleep inconsistency-check
+bins = posix_timers nanosleep inconsistency-check nsleep-lat
all: ${bins}
run_tests: all
./posix_timers
./nanosleep
+ ./nsleep-lat
./inconsistency-check
clean:
rm -f ${bins}