From 9aa07bd7bae08345e213c201021c9e29b67627b2 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 25 Oct 2011 10:14:22 +0200 Subject: Use monotonic clock to retrieve timestamps Signed-off-by: Laurent Pinchart --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c8c49e9..4a9f055 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ CROSS_COMPILE ?= CC := $(CROSS_COMPILE)gcc CFLAGS ?= -O2 -W -Wall LDFLAGS ?= +LIBS := -lrt %.o : %.c $(CC) $(CFLAGS) -c -o $@ $< @@ -10,7 +11,7 @@ LDFLAGS ?= all: yavta yavta: yavta.o - $(CC) $(LDFLAGS) -o $@ $^ + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) clean: -rm -f *.o -- cgit v1.2.3