summaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 29ffd29442afd3ac5f1977d9c58cfb7a5fc3e8be (plain)
1
2
3
4
5
6
7
8
9
10
11
CFLAGS=-std=c99 -Wall
LibAV=`pkg-config --cflags --libs libavcodec`
LIBAV_DECODE_FLAGS=$(shell pkg-config --libs --cflags libavformat libavcodec libavutil libswscale)

all: advtime decode_frame

advtime: advtime.c
	gcc ${LibAV} advtime.c -o $@

decode_frame: decode_frame.c
	gcc $(CFLAGS) $(LIBAV_DECODE_FLAGS) decode_frame.c -o $@