summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorJan Klemkow <j.klemkow@wemelug.de>2012-11-14 13:34:55 +0100
committerJan Klemkow <j.klemkow@wemelug.de>2012-11-14 13:34:55 +0100
commit9dbb1110bedd35664f17c84e6459b6b597b14f70 (patch)
tree15b5f0501345adec8164b41511b8b7792bff962b /src/Makefile
parente85ff83fa77c5128fb7dffb4b5c9f82816cad6ab (diff)
downloadadvtime-9dbb1110bedd35664f17c84e6459b6b597b14f70.tar.gz
advtime-9dbb1110bedd35664f17c84e6459b6b597b14f70.tar.bz2
advtime-9dbb1110bedd35664f17c84e6459b6b597b14f70.zip
Add average frame calculation.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 0cd8c91..b5a6901 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,11 +1,10 @@
CFLAGS=-std=c99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-unused-parameter
-LibAV=`pkg-config --cflags --libs libavcodec`
LIBAV_DECODE_FLAGS=`pkg-config --libs --cflags libavformat libavcodec libavutil libswscale`
all: advtime decode_frame frame_to_pgm
-advtime: advtime.c
- gcc ${LibAV} advtime.c -o $@
+advtime: advtime.c video_decode.c
+ gcc $(CFLAGS) $(LIBAV_DECODE_FLAGS) advtime.c video_decode.c -o $@
decode_frame: decode_frame.c
gcc $(CFLAGS) $(LIBAV_DECODE_FLAGS) decode_frame.c -o $@