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 | |
689f32fb | 5 | bins = posix_timers nanosleep |
03438212 JS |
6 | |
7 | all: ${bins} | |
0bc4b0cf FW |
8 | |
9 | run_tests: all | |
10 | ./posix_timers | |
689f32fb | 11 | ./nanosleep |
0bc4b0cf FW |
12 | |
13 | clean: | |
03438212 | 14 | rm -f ${bins} |