zephyr/samples/posix/gettimeofday/Makefile.posix
Paul Sokolovsky 4e116873f5 samples: posix: gettimeofday: Demo gettimeofday() returning correct time
Achieved using CONFIG_NET_CONFIG_CLOCK_SNTP_INIT option, i.e. querying
time over network using SNTP.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2019-10-28 13:04:35 +02:00

5 lines
107 B
Makefile

# This makefile builds the sample for a POSIX system, like Linux
gettimeofday: src/main.c
$(CC) $^ -o $@