Commit | Line | Data |
---|---|---|
03438212 JS |
1 | CC = $(CROSS_COMPILE)gcc |
2 | BUILD_FLAGS = -DKTEST | |
3 | CFLAGS += -O3 -Wl,-no-as-needed -Wall $(BUILD_FLAGS) | |
4 | LDFLAGS += -lrt -lpthread | |
4e40d0a2 JS |
5 | bins = posix_timers nanosleep inconsistency-check nsleep-lat raw_skew \ |
6 | set-timer-lat | |
03438212 JS |
7 | |
8 | all: ${bins} | |
0bc4b0cf FW |
9 | |
10 | run_tests: all | |
11 | ./posix_timers | |
689f32fb | 12 | ./nanosleep |
c5fffcb2 | 13 | ./nsleep-lat |
4e40d0a2 | 14 | ./set-timer-lat |
ed3fe34a | 15 | ./inconsistency-check |
51f91cbd | 16 | ./raw_skew |
4e40d0a2 | 17 | |
0bc4b0cf | 18 | clean: |
03438212 | 19 | rm -f ${bins} |