Mercurial > mplayer.hg
changeset 26185:35f930b141ad
sync with FFmpeg r12398
author | diego |
---|---|
date | Mon, 10 Mar 2008 19:43:07 +0000 |
parents | 7ee4ae1648e6 |
children | 49df679a7c1a |
files | common.mak |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/common.mak Mon Mar 10 19:28:42 2008 +0000 +++ b/common.mak Mon Mar 10 19:43:07 2008 +0000 @@ -4,6 +4,9 @@ LIBSRC = $(SRC_PATH_BARE)/lib$(NAME) +LIBVERSION = $(lib$(NAME)_VERSION) +LIBMAJOR = $(lib$(NAME)_VERSION_MAJOR) + vpath %.c $(LIBSRC) vpath %.h $(LIBSRC) vpath %.S $(LIBSRC) @@ -58,8 +61,9 @@ ALLHEADERS = $(subst $(LIBSRC)/,,$(wildcard $(LIBSRC)/*.h)) checkheaders: $(filter-out %_template.ho,$(ALLHEADERS:.h=.ho)) +# gcc stupidly only outputs the basename of targets with -MM depend dep: $(SRCS) - $(CC) -MM $(CFLAGS) $^ 1>.depend + $(CC) -MM $(CFLAGS) $^ | sed 's,[0-9a-z._-]*: \([a-z0-9]*/\).*,\1&,' 1>.depend clean:: rm -f *.o *~ *.a *.lib *.so *.so.* *.dylib *.dll \