From 5bab85364663f624bd9206bb3ca7d2d0f69d356c Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Thu, 30 Oct 2008 10:14:57 +0000
Subject: [PATCH] Add check target to run both tests and checkheaders targets.

Originally committed as revision 15750 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index cb67a9bdb58..ad3daf0b0f2 100644
--- a/Makefile
+++ b/Makefile
@@ -162,6 +162,8 @@ distclean::
 
 # regression tests
 
+check: test checkheaders
+
 fulltest test: codectest libavtest seektest
 
 FFMPEG_REFFILE   = $(SRC_PATH)/tests/ffmpeg.regression.ref
@@ -331,6 +333,6 @@ tests/seek_test$(EXESUF): tests/seek_test.c $(FF_DEP_LIBS)
 	$(CC) $(FF_LDFLAGS) $(CFLAGS) -o $@ $< $(FF_EXTRALIBS)
 
 
-.PHONY: lib videohook documentation *test regtest-* swscale-error alltools
+.PHONY: lib videohook documentation *test regtest-* swscale-error alltools check
 
 -include $(VHOOK_DEPS)
-- 
GitLab