diff options
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libavutil/Makefile b/libavutil/Makefile index 54ac475..064e7e8 100644 --- a/libavutil/Makefile +++ b/libavutil/Makefile @@ -42,3 +42,18 @@ LIBVERSION=$(LAVUVERSION) LIBMAJOR=$(LAVUMAJOR) 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 |