aboutsummaryrefslogtreecommitdiffhomepage
path: root/libswscale/Makefile
diff options
context:
space:
mode:
authorGravatar mru <mru@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-07 21:16:50 +0000
committerGravatar mru <mru@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-07 21:16:50 +0000
commitac1280459b9097fe50506c78115a771af67b02e4 (patch)
treeb3567d51b5f8bb8947f3e21ee024a4729d5f56b2 /libswscale/Makefile
parent9623100d13788f98b610becf110bceb3d2c686b5 (diff)
non-recursive makefiles
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26346 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/Makefile')
-rw-r--r--libswscale/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/libswscale/Makefile b/libswscale/Makefile
index d99cb56bd1..20ace9e471 100644
--- a/libswscale/Makefile
+++ b/libswscale/Makefile
@@ -1,4 +1,4 @@
-include ../config.mak
+include $(SUBDIR)../config.mak
NAME = swscale
FFLIBS = avutil
@@ -15,12 +15,11 @@ ASM_OBJS-$(ARCH_BFIN) += internal_bfin.o
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