diff options
author | Uros Majstorovic <majstor@majstor.org> | 2017-09-12 18:28:41 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2017-09-12 18:28:41 +0200 |
commit | 34b378ee754f5811b1f1cb30ca55a17dd26bb9cd (patch) | |
tree | d7c91de5ca2c48d2ec105f91d949f89fadadec95 /code/test/vid/Makefile | |
parent | d2aeb3b2f016860432a3451d04cceb4d871ff4ba (diff) |
video test passed
Diffstat (limited to 'code/test/vid/Makefile')
-rw-r--r-- | code/test/vid/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/code/test/vid/Makefile b/code/test/vid/Makefile index 3f78157..9ef247e 100644 --- a/code/test/vid/Makefile +++ b/code/test/vid/Makefile @@ -1,7 +1,7 @@ -# LIBVPX_HOME=/home/majstor/libvpx -LIBVPX_HOME=/Users/majstor/src/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) +LIBVPX_HOME=/home/majstor/libvpx +# LIBVPX_HOME=/Users/majstor/src/libvpx +CFLAGS=-D_V4L2_KERNEL_ -I/usr/src/linux-headers-$(uname -r) -I$(LIBVPX_HOME) -I/opt/local/include/SDL2 -I../../core -I../../vconn -I../../util +LDFLAGS=-L$(LIBVPX_HOME) -L/opt/local/lib 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 @@ -12,8 +12,8 @@ all: client cap 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) +client: client.o display.o tools.o + $(CC) -o $@ $< display.o tools.o -lvpx -lSDL2 -lm -pthread $(dep) $(LDFLAGS) clean: rm -f *.o |