summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index 43087cb..83892e7 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,10 +1,13 @@
-CFLAGS=-std=c99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-unused-parameter
-LIBAV_DECODE_FLAGS=`pkg-config --libs --cflags libavformat libavcodec libavutil libswscale`
+CFLAGS=-std=c99 -Wall -Wstrict-prototypes -Wmissing-prototypes \
+ -Wno-unused-parameter
+LIBAV_DECODE_FLAGS=`pkg-config --libs --cflags libavformat libavcodec \
+ libavutil libswscale`
all: advtime decode_frame frame_to_pgm
-advtime: advtime.c video_decode.c
- gcc $(CFLAGS) $(LIBAV_DECODE_FLAGS) -DDEBUG=0 advtime.c video_decode.c -o $@
+advtime: advtime.c video_decode.c util.c
+ gcc $(CFLAGS) $(LIBAV_DECODE_FLAGS) -DDEBUG=0 advtime.c video_decode.c \
+ util.c -o $@
decode_frame: decode_frame.c
gcc $(CFLAGS) $(LIBAV_DECODE_FLAGS) decode_frame.c -o $@