Commit 7c036cc8 authored by diego's avatar diego

Add Makefile rules for test programs.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11643 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5d4d5b67
...@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment