summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-10-25 10:14:22 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-10-25 10:14:22 +0200
commit9aa07bd7bae08345e213c201021c9e29b67627b2 (patch)
tree91ac64790668a473830ce1d45b7cc4dec0611df5 /Makefile
parent43a7e1cb55a892760200fccc258eac5526314f97 (diff)
Use monotonic clock to retrieve timestamps
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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