提交 4942a0e8 编写于 作者: D Diego Biurrun

Add Makefile rules for test programs.

Originally committed as revision 11643 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 cff7ccdd
...@@ -42,3 +42,18 @@ LIBVERSION=$(LAVUVERSION) ...@@ -42,3 +42,18 @@ LIBVERSION=$(LAVUVERSION)
LIBMAJOR=$(LAVUMAJOR) LIBMAJOR=$(LAVUMAJOR)
include ../common.mak include ../common.mak
TESTS = $(addsuffix -test$(EXESUF), adler32 aes crc des lls md5 sha1 softfloat tree)
tests: $(TESTS)
%-test$(EXESUF): %.c $(LIBNAME)
$(CC) $(CFLAGS) $(LDFLAGS) -DTEST -o $@ $^ $(EXTRALIBS)
lzo-test$(EXESUF): lzo.c $(LIBNAME)
$(CC) $(CFLAGS) $(LDFLAGS) -DTEST -o $@ $^ $(EXTRALIBS) -llzo2
clean::
rm -f $(TESTS) lzo-test$(EXESUF)
.PHONY: tests
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册