Mercurial > mplayer.hg
changeset 26314:67dbe3155ce5
non-recursive makefiles
author | mru |
---|---|
date | Mon, 07 Apr 2008 21:16:50 +0000 |
parents | 270df0673cc2 |
children | a80f0a7d73f4 |
files | libswscale/Makefile |
diffstat | 1 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/Makefile Mon Apr 07 17:39:41 2008 +0000 +++ b/libswscale/Makefile Mon Apr 07 21:16:50 2008 +0000 @@ -1,4 +1,4 @@ -include ../config.mak +include $(SUBDIR)../config.mak NAME = swscale FFLIBS = avutil @@ -15,12 +15,11 @@ HEADERS = swscale.h rgb2rgb.h -include ../common.mak +CLEANFILES = cs_test swscale-example -cs_test: cs_test.o $(LIBNAME) +include $(SUBDIR)../subdir.mak -swscale-example: swscale-example.o $(LIBNAME) -swscale-example: EXTRALIBS += -lm +$(SUBDIR)cs_test: $(SUBDIR)cs_test.o $(SUBDIR)$(LIBNAME) -clean:: - rm -f cs_test swscale-example +$(SUBDIR)swscale-example: $(SUBDIR)swscale-example.o $(SUBDIR)$(LIBNAME) +$(SUBDIR)swscale-example: EXTRALIBS += -lm