Use monotonic clock to retrieve timestamps
[omap4-v4l2-camera:yavta.git] / Makefile
1 CROSS_COMPILE ?=
2
3 CC      := $(CROSS_COMPILE)gcc
4 CFLAGS  ?= -O2 -W -Wall
5 LDFLAGS ?=
6 LIBS    := -lrt
7
8 %.o : %.c
9         $(CC) $(CFLAGS) -c -o $@ $<
10
11 all: yavta
12
13 yavta: yavta.o
14         $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
15
16 clean:
17         -rm -f *.o
18         -rm -f yavta
19