makefile for ffmpeg
来源:互联网 发布:linux cdrom 编辑:程序博客网 时间:2024/05/27 20:49
本人开发时的makefile,仅供参考(略去些许细节)
# use pkg-config for getting CFLAGS and LDLIBSFFMPEG_LIBS= libavdevice \ libavformat \ libavfilter \ libavcodec \ libswresample \ libswscale \ libavutil \sdl \CFLAGS += -Wall -gINCLUDES:=$(shell pkg-config --cflags libavformat libavcodec libswscale libavutil sdl)CFLAGS := $(shell pkg-config --cflags $(FFMPEG_LIBS)) $(CFLAGS)LDFLAGS:=$(shell pkg-config --libs libavformat libavcodec libswscale libavutil libswresample sdl) -lm LDLIBS := $(shell pkg-config --libs $(FFMPEG_LIBS)) $(LDLIBS)EXE:= muxing.out demo.out#OBJS=$(addsuffix .o,$(EXAMPLES))# the following examples make explicit use of the math library# decoding_encoding: LDLIBS += -lmmuxing: LDLIBS += -lm#.phony: all clean-test clean#all: $(OBJS) $(EXAMPLES)all: dirs $(addprefix bin/, $(EXE)) tagsdirs:mkdir -p objmkdir -p bintags: *.cctags *.cbin/%.out: obj/%.o$(CC) $(CFLAGS) $< $(LDFLAGS) -o $@obj/%.o : %.c$(CC) $(CFLAGS) $< $(INCLUDES) -c -o $@#clean-test:#$(RM) test*.pgm test.h264 test.mp2 test.sw test.mpg#clean: clean-test#$(RM) $(EXAMPLES) $(OBJS)clean:rm -f obj/*rm -f bin/*rm -f tags
- makefile for ffmpeg
- ffmpeg compile makefile
- ffmpeg makefile 分析
- FFmpeg源代码简单分析:makefile
- 编译ffmpeg for WinCE
- ffmpeg for windows
- 编译ffmpeg for WinCE
- ffmpeg for MPEG2 TS
- ffmpeg for windows
- ffmpeg for MPEG2 TS
- Beginner for FFmpeg
- FFMpeg For Android - Resource
- 编译ffmpeg for ios
- ffmpeg for windows
- compiling ffmpeg for iFrameExtractor
- Building FFmpeg for iPhone
- 编译ffmpeg for iOS
- compile ffmpeg for android
- UILabel详解
- java笔记【九】
- hibernate get load区别 hibernate的生命周期
- jsp 常用标签库
- Lucene之MinShouldMatchScorer算法源码分析
- makefile for ffmpeg
- 织梦如何开启邮箱验证并设定发送内容
- 关于bash
- 我的通用底层架构。
- 常用的开发原则
- poj 1185 炮兵阵地
- 【IOS功能实现】之Json解析的四种方法
- 智能手机操作系统介绍(1)
- S3C2410看门狗的若干原理