Add checkheaders target, ported from FFmpeg.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26145 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-03-03 09:59:11 +00:00
parent bc2c5f3f6c
commit 4ec85e8560
1 changed files with 7 additions and 1 deletions

View File

@ -24,7 +24,7 @@ $(LIBNAME_COMMON) $(LIBNAME_MPLAYER) $(LIBNAME_MENCODER):
$(RANLIB) $@
clean::
rm -f *.o *.a *~
rm -f *.o *.a *.ho *~
distclean:: clean
rm -f .depend test test2
@ -32,6 +32,12 @@ distclean:: clean
dep depend::
$(CC) -MM $(CFLAGS) $(SRCS_COMMON) $(SRCS_MPLAYER) $(SRCS_MENCODER) 1>.depend
%.ho: %.h
$(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $<
ALLHEADERS = $(wildcard *.h)
checkheaders: $(ALLHEADERS:.h=.ho)
-include .depend
.PHONY: libs clean distclean dep depend