summaryrefslogtreecommitdiff
path: root/code/test/vid
diff options
context:
space:
mode:
Diffstat (limited to 'code/test/vid')
-rw-r--r--code/test/vid/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/code/test/vid/Makefile b/code/test/vid/Makefile
index f4cd8bb..8444b6d 100644
--- a/code/test/vid/Makefile
+++ b/code/test/vid/Makefile
@@ -3,7 +3,7 @@ include ../../ecp/Makefile.platform
LIBVPX_HOME=/opt/my/libvpx
CFLAGS=$(CFLAGS_PL) -D_V4L2_KERNEL_ -I/usr/src/linux-headers-$(uname -r) -I$(LIBVPX_HOME) -I/opt/local/include/SDL2 -I../../ecp -I../../util -Wno-int-to-void-pointer-cast
LDFLAGS=-L$(LIBVPX_HOME) -L/opt/local/lib $(LDFLAGS_PL)
-dep=../../ecp/build-posix/*.a ../../util/libecputil.a ../init_vconn.o
+dep=../init_vconn.o ../../ecp/build-posix/*.a ../../util/libecputil.a
all: cap
@@ -11,10 +11,10 @@ all: cap
$(CC) $(CFLAGS) -c $<
cap: cap.o enc.o tools.o server.o
- $(CC) -o $@ $(LDFLAGS) -lvpx $< enc.o tools.o server.o $(dep)
+ $(CC) -o $@ $< enc.o tools.o server.o $(dep) $(LDFLAGS) -lvpx
client: client.o display.o tools.o
- $(CC) -o $@ $(LDFLAGS) -lvpx -lSDL2 $< display.o tools.o $(dep)
+ $(CC) -o $@ $< display.o tools.o $(dep) $(LDFLAGS) -lvpx -lSDL2
clean:
rm -f *.o