blob: 1689040cd69135ef2d3b2f4c91153b3dcfce4f2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
LIBVPX_HOME=/home/majstor/libvpx
CFLAGS=-D_V4L2_KERNEL_ -I/usr/src/linux-headers-$(uname -r) -I$(LIBVPX_HOME) -I../../core -I../../vconn -I../../util
LDFLAGS=-L$(LIBVPX_HOME)
dep=../../core/libecpcore.a ../../core/crypto/libecpcr.a ../../core/htable/libecpht.a ../../core/posix/libecptr.a ../../core/posix/libecptm.a ../../vconn/libecpvconn.a ../../util/libecputil.a ../init.o
all: client cap
%.o: %.c
$(CC) $(CFLAGS) -c $<
cap: cap.o enc.o tools.o server.o
$(CC) -o $@ $< enc.o tools.o server.o -lvpx -lm -pthread $(dep) $(LDFLAGS)
client: client.o tools.o
$(CC) -o $@ $< tools.o -lvpx -lm -pthread $(dep) $(LDFLAGS)
clean:
rm -f *.o
rm -f cap client
|